[packages/adapter: 151/631] - sysconfig fixes

glen glen at pld-linux.org
Mon Sep 12 19:47:07 CEST 2016


commit 561de4f3dea50c52ed59908b7dccb00c39bb46b2
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Apr 6 18:01:41 2005 +0000

    - sysconfig fixes
    
    Changed files:
        adapter.awk -> 1.146

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 0247e0a..de52224 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -719,7 +719,7 @@ function use_files_macros(	i, n, t, a)
 	}
 
 	if (/\/etc\/sysconfig\// && !/%config\(noreplace\)/) {
-		gsub("%attr\(%config\s", "%config(noreplace)")
+		 $1 = $1 " %config(noreplace)"
 	}
 
 	if (/\/etc\/sysconfig\// && !/%verify/) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list