mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
upstream: Determine archive type correctly.
* guix/upstream.scm (package-update): Take the basename of the uri before trying to determine the extension.
This commit is contained in:
parent
200cdf81c6
commit
6976c68158
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ (define* (package-update store package updaters
|
|||
((archive-type)
|
||||
(match (and=> (package-source package) origin-uri)
|
||||
((? string? uri)
|
||||
(file-extension uri))
|
||||
(file-extension (basename uri)))
|
||||
(_
|
||||
"gz")))
|
||||
((url signature-url)
|
||||
|
|
Loading…
Reference in a new issue