import github: Add to extension list.

* guix/import/github.scm (find-extension): Add '.tgz' extension.
master
Efraim Flashner 2016-05-31 18:55:25 +03:00
parent 57d83cd29b
commit b93efac026
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 1 additions and 1 deletions

View File

@ -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