packages: Recognize the '.Z' extension.
Reported by thomasd on #guix. * guix/packages.scm (patch-and-repack)[decompression-type]: Add "Z".
This commit is contained in:
parent
6dc554fa2a
commit
5257ab6de2
|
@ -406,6 +406,7 @@ IMPORTED-MODULES specify modules to use/import for use by SNIPPET."
|
||||||
|
|
||||||
(define decompression-type
|
(define decompression-type
|
||||||
(cond ((string-suffix? "gz" source-file-name) "gzip")
|
(cond ((string-suffix? "gz" source-file-name) "gzip")
|
||||||
|
((string-suffix? "Z" source-file-name) "gzip")
|
||||||
((string-suffix? "bz2" source-file-name) "bzip2")
|
((string-suffix? "bz2" source-file-name) "bzip2")
|
||||||
((string-suffix? "lz" source-file-name) "lzip")
|
((string-suffix? "lz" source-file-name) "lzip")
|
||||||
((string-suffix? "zip" source-file-name) "unzip")
|
((string-suffix? "zip" source-file-name) "unzip")
|
||||||
|
|
Loading…
Reference in New Issue