Browse Source

import github: Add to extension list.

* guix/import/github.scm (find-extension): Add '.tgz' extension.
version-0.11.0
Efraim Flashner 6 years ago
parent
commit
b93efac026
Signed by: efraim GPG Key ID: F4C1D3917EACEE93
  1. 2
      guix/import/github.scm

2
guix/import/github.scm

@ -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…
Cancel
Save