SPECS: adapter.awk - allow other params than %config(noreplace) fo...
glen
glen at pld-linux.org
Tue Sep 12 20:42:22 CEST 2006
Author: glen Date: Tue Sep 12 18:42:22 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- allow other params than %config(noreplace) for /etc/sysconfig files
---- Files affected:
SPECS:
adapter.awk (1.326 -> 1.327)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.326 SPECS/adapter.awk:1.327
--- SPECS/adapter.awk:1.326 Tue Sep 12 16:57:39 2006
+++ SPECS/adapter.awk Tue Sep 12 20:42:16 2006
@@ -1386,11 +1386,11 @@
# %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
# attr not required, allow default 644 attr
if (!/network-scripts/ && !/%dir/ && !/\.d$/ && !/functions/ && !/\/etc\/sysconfig\/wmstyle/) {
- if (/\/etc\/sysconfig\// && /%config/ && !/%config\(noreplace\)/) {
+ if (/\/etc\/sysconfig\// && /%config/ && !/%config\(noreplace/) {
gsub("%config", "%config(noreplace)")
}
- if (/\/etc\/sysconfig\// && !/%config\(noreplace\)/) {
+ if (/\/etc\/sysconfig\// && !/%config\(noreplace/) {
$NF = "%config(noreplace) " $NF
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.326&r2=1.327&f=u
More information about the pld-cvs-commit
mailing list