Skip to content
Snippets Groups Projects
Unverified Commit 5257ab6d authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

packages: Recognize the '.Z' extension.

Reported by thomasd on #guix.

* guix/packages.scm (patch-and-repack)[decompression-type]: Add "Z".
parent 6dc554fa
No related branches found
No related tags found
No related merge requests found
...@@ -406,6 +406,7 @@ (define lookup-input ...@@ -406,6 +406,7 @@ (define lookup-input
(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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment