aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-12-07 22:17:43 +0100
committerLudovic Courtès <ludo@gnu.org>2015-12-07 23:32:01 +0100
commitf00dccf4418af5857223ed9b7932daadb61cd7b6 (patch)
treea5b211a5094394c5714f7607da0a154ffb7f171d
parentb6124f00b86cd2138ed8d50c5ac04aa4d1e7bc82 (diff)
downloadguix-f00dccf4418af5857223ed9b7932daadb61cd7b6.tar.gz
guix-f00dccf4418af5857223ed9b7932daadb61cd7b6.zip
gnu-maintenance: Adjust tarball regexp for IceCat tarballs.
* guix/gnu-maintenance.scm (%tarball-rx): Tweak to match IceCat tarball patterns.
-rw-r--r--guix/gnu-maintenance.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index cd45702628..54bc6f5d50 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -237,8 +237,10 @@ stored."
(substring tarball 0 end)))
(define %tarball-rx
- ;; Note: .zip files are notably used for freefont-ttf.
- (make-regexp "^(.+)-([0-9]|[^-])*(-src)?\\.(tar\\.|zip$)"))
+ ;; The .zip extensions is notably used for freefont-ttf.
+ ;; The "-src" pattern is for "TeXmacs-1.0.7.9-src.tar.gz".
+ ;; The "-gnu[0-9]" pattern is for "icecat-38.4.0-gnu1.tar.bz2".
+ (make-regexp "^([^.]+)-([0-9]|[^-])+(-(src|gnu[0-9]))?\\.(tar\\.|zip$)"))
(define %alpha-tarball-rx
(make-regexp "^.*-.*[0-9](-|~)?(alpha|beta|rc|cvs|svn|git)-?[0-9\\.]*\\.tar\\."))