publish: Keep compression disabled when zlib is missing.
authorLudovic Courtès <ludo@gnu.org>
Tue, 19 Jul 2016 14:46:16 +0000 (16:46 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 19 Jul 2016 14:47:19 +0000 (16:47 +0200)
commit053fa76ae7bb579fe5fc9dedfc492411e6804cf0
tree954911a5d1e748aee3b49c8d6766a110df44e165
parent72fb1b24d904ad63a11c3850899cfd5e157b76e2
publish: Keep compression disabled when zlib is missing.

Reported by David Thompson.

* guix/scripts/publish.scm (%options)[--compression]: Warn if LEVEL > 0
and zlib is missing, and return RESULT.
guix/scripts/publish.scm