[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42192] [PATCH 2/3] import: launchpad: Recognize the .orig.tar.gz ex
From: |
Arun Isaac |
Subject: |
[bug#42192] [PATCH 2/3] import: launchpad: Recognize the .orig.tar.gz extension. |
Date: |
Sun, 5 Jul 2020 00:03:31 +0530 |
* guix/import/launchpad.scm (find-extension): Recognize the .orig.tar.gz
extension.
---
guix/import/launchpad.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/import/launchpad.scm b/guix/import/launchpad.scm
index 1162cbe123..c991ccfe6e 100644
--- a/guix/import/launchpad.scm
+++ b/guix/import/launchpad.scm
@@ -32,7 +32,7 @@
"Return the extension of the archive e.g. '.tar.gz' given a URL, or
false if none is recognized"
(find (lambda (x) (string-suffix? x url))
- (list ".tar.gz" ".tar.bz2" ".tar.xz"
+ (list ".orig.tar.gz" ".tar.gz" ".tar.bz2" ".tar.xz"
".zip" ".tar" ".tgz" ".tbz" ".love")))
(define (updated-launchpad-url old-package new-version)
--
2.26.2