]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- recognize .tar.lzma
authorArtur Frysiak <artur@frysiak.net>
Tue, 8 Jun 2010 03:24:48 +0000 (03:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pldnotify.awk -> 1.86

pldnotify.awk

index f3e7d1f9015c6225f60b7dbcc7d55de0945bacea..90e5e5692c6c398a501b0a542c1b669d3f676e41 100644 (file)
@@ -413,7 +413,7 @@ function process_source(number,lurl,name,version) {
                # in /something/ looking for newer directory
                dir=substr(dir,1,index(dir,version)-1)
                sub("[^/]*$","",dir)
-               sub("(\.tar\.(bz|bz2|gz|xz)|zip)$","",filename)
+               sub("(\.tar\.(bz|bz2|gz|lzma|xz)|zip)$","",filename)
        }
 
        d("Will check a directory: " dir)
@@ -465,7 +465,7 @@ function process_source(number,lurl,name,version) {
                                d("Version: " newfilename)
                                if (newfilename ~ /\.(asc|sig|pkg|bin|binary|built)$/) continue
                                # strip ending (happens when in directiory name as version matching mode)
-                               sub("(\.tar\.(bz|bz2|gz|xz)|zip)$","",newfilename)
+                               sub("(\.tar\.(bz|bz2|gz|lzma|xz)|zip)$","",newfilename)
                                if (NUMERIC) {
                                        if ( compare_ver_dec(version, newfilename)==1 ) {
                                                d("Yes, there is new one")
This page took 0.088762 seconds and 4 git commands to generate.