]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- allow other params than %config(noreplace) for /etc/sysconfig files
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 12 Sep 2006 18:42:16 +0000 (18:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.327

adapter.awk

index ca5106647c693e4c4320b9ab0fa519e97014bbca..3155e86d4df5e2dc3e7a138645472cec28744414 100644 (file)
@@ -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
                }
 
This page took 0.03492 seconds and 4 git commands to generate.