[packages/adapter: 339/631] - allow other params than %config(noreplace) for /etc/sysconfig files
glen
glen at pld-linux.org
Mon Sep 12 20:02:52 CEST 2016
commit 6ea0907e0d8c0f7710341c0ef3377f109381e0c4
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Tue Sep 12 18:42:16 2006 +0000
- allow other params than %config(noreplace) for /etc/sysconfig files
Changed files:
adapter.awk -> 1.327
adapter.awk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index ca51066..3155e86 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1386,11 +1386,11 @@ function use_files_macros( i, n, t, a)
# %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
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list