import: launchpad: Recognize the .orig.tar.gz extension.
authorArun Isaac <arunisaac@systemreboot.net>
Sat, 4 Jul 2020 18:14:04 +0000 (23:44 +0530)
committerArun Isaac <arunisaac@systemreboot.net>
Tue, 1 Sep 2020 17:15:16 +0000 (22:45 +0530)
* guix/import/launchpad.scm (find-extension): Recognize the .orig.tar.gz
extension.

guix/import/launchpad.scm

index 1162cbe..c991ccf 100644 (file)
@@ -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)