Author: glen                         Date: Mon Jan  2 13:29:25 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- process also pri=2 when migrating to 0.20 config

---- Files affected:
SPECS:
   poldek.spec (1.197.2.65 -> 1.197.2.66) 

---- Diffs:

================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.197.2.65 SPECS/poldek.spec:1.197.2.66
--- SPECS/poldek.spec:1.197.2.65        Thu Dec 22 19:05:44 2005
+++ SPECS/poldek.spec   Mon Jan  2 14:29:19 2006
@@ -240,11 +240,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 "";
@@ -254,6 +261,9 @@
                print "path = " path;
                print "auto = " auto;
                print "autoup = " autoup;
+               if (pri) {
+                       print "pri = " pri;
+               }
        }
 
        }' < /etc/poldek.conf.rpmsave >> /etc/poldek/source.conf
@@ -300,6 +310,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.197.2.66  2006/01/02 13:29:19  glen
+- process also pri=2 when migrating to 0.20 config
+
 Revision 1.197.2.65  2005/12/22 18:05:44  glen
 - rel 3 (obsoletes patch needed to install recent apache)
 
================================================================

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

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

Reply via email to