[packages/adapter: 153/631] - sysconfig fixes: allow other than 640 perm, but fix 755 perm

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


commit 1b944623b39542dcc8f389cd8ef9478b71dafb04
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Apr 6 18:05:20 2005 +0000

    - sysconfig fixes: allow other than 640 perm, but fix 755 perm
    
    Changed files:
        adapter.awk -> 1.148

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index ab317a6..8d6a9ed 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -727,7 +727,7 @@ function use_files_macros(	i, n, t, a)
 		gsub("/etc/sysconfig", "%verify(not size mtime md5) /etc/sysconfig");
 	}
 
-	if (/\/etc\/sysconfig\// && !/%attr\(640/) {
+	if (/\/etc\/sysconfig\// && /%attr\(755/) {
 		gsub("^%attr\(... *,", "%attr(640,");
 	}
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list