import github: Add to extension list.
* guix/import/github.scm (find-extension): Add '.tgz' extension.
This commit is contained in:
parent
57d83cd29b
commit
b93efac026
|
@ -44,7 +44,7 @@ failure."
|
|||
"Return the extension of the archive e.g. '.tar.gz' given a URL, or
|
||||
false if none is recognized"
|
||||
(find (lambda x (string-suffix? (first x) url))
|
||||
(list ".tar.gz" ".tar.bz2" ".tar.xz" ".zip" ".tar")))
|
||||
(list ".tar.gz" ".tar.bz2" ".tar.xz" ".zip" ".tar" ".tgz")))
|
||||
|
||||
(define (updated-github-url old-package new-version)
|
||||
;; Return a url for the OLD-PACKAGE with NEW-VERSION. If no source url in
|
||||
|
|
Loading…
Reference in New Issue