[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: import: launchpad: Recognize the .orig.tar.gz extension.
From: |
guix-commits |
Subject: |
02/03: import: launchpad: Recognize the .orig.tar.gz extension. |
Date: |
Tue, 1 Sep 2020 13:19:34 -0400 (EDT) |
arunisaac pushed a commit to branch master
in repository guix.
commit 43225612437a345f211468ca696e150387640f52
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sat Jul 4 23:44:04 2020 +0530
import: launchpad: Recognize the .orig.tar.gz extension.
* 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 1162cbe..c991ccf 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)