summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-07-04 23:44:04 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-09-01 22:45:16 +0530
commit43225612437a345f211468ca696e150387640f52 (patch)
treea88b78c07236f180ff0201dc8540de21dbeee781
parent8b9b5a7f5898b18442de2037c0172f114a0f901b (diff)
downloadguix-43225612437a345f211468ca696e150387640f52.tar.gz
import: launchpad: Recognize the .orig.tar.gz extension.
* guix/import/launchpad.scm (find-extension): Recognize the .orig.tar.gz
extension.
-rw-r--r--guix/import/launchpad.scm2
1 files changed, 1 insertions, 1 deletions
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)