Author: wiget                        Date: Tue Jun  8 03:24:53 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- recognize .tar.lzma

---- Files affected:
packages:
   pldnotify.awk (1.85 -> 1.86) 

---- Diffs:

================================================================
Index: packages/pldnotify.awk
diff -u packages/pldnotify.awk:1.85 packages/pldnotify.awk:1.86
--- packages/pldnotify.awk:1.85 Mon Jun  7 22:45:43 2010
+++ packages/pldnotify.awk      Tue Jun  8 05:24:48 2010
@@ -413,7 +413,7 @@
                # 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 @@
                                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")
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pldnotify.awk?r1=1.85&r2=1.86&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to