Author: glen                         Date: Mon Mar 13 09:14:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merge pri= parsing from AC-branch

---- Files affected:
SPECS:
   poldek.spec (1.225 -> 1.226) 

---- Diffs:

================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.225 SPECS/poldek.spec:1.226
--- SPECS/poldek.spec:1.225     Fri Mar  3 22:56:16 2006
+++ SPECS/poldek.spec   Mon Mar 13 10:14:35 2006
@@ -238,11 +238,18 @@
        auto = "yes";
        autoup = "yes";
        type = "pdir";
+       pri = "";
 
        if (sub(",noauto", "", name)) {
                auto = "no";
        }
 
+       # process pri=\d+
+       if (match(name, /,pri=[0-9]+/)) {
+               pri = substr(name, RSTART + 5, RLENGTH - 5);
+               name = substr(name, 1, RSTART - 1) substr(name, RSTART + 
RLENGTH);
+       }
+
        # skip ac sources. already in new config.
        if (name !~ 
/^ac(-(ready|test|supported|updates-(general|security)))?$/) {
                print "";
@@ -252,6 +259,9 @@
                print "path = " path;
                print "auto = " auto;
                print "autoup = " autoup;
+               if (pri) {
+                       print "pri = " pri;
+               }
        }
 
        }' < /etc/poldek.conf.rpmsave >> /etc/poldek/source.conf
@@ -298,6 +308,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.226  2006/03/13 09:14:35  glen
+- merge pri= parsing from AC-branch
+
 Revision 1.225  2006/03/03 21:56:16  qboosh
 - complete URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/poldek.spec?r1=1.225&r2=1.226&f=u

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

Reply via email to