[packages/adapter: 241/631] - /etc/... .d doesn't usually require %config

glen glen at pld-linux.org
Mon Sep 12 19:54:39 CEST 2016


commit 6ea64b8db5b7c2ed221f8ee635f45e21eee8cb27
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Dec 13 11:28:32 2005 +0000

    - /etc/... .d doesn't usually require %config
    
    Changed files:
        adapter.awk -> 1.232

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 10f5852..2a8de4b 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1041,7 +1041,7 @@ function use_files_macros(	i, n, t, a)
 	# /etc/sysconfig files
 	# %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
 	# attr not required, allow default 644 attr
-	if (!/network-scripts/ && !/%dir/ && !/functions/ && !/\/etc\/sysconfig\/wmstyle/) {
+	if (!/network-scripts/ && !/%dir/ && !/\.d$/ && !/functions/ && !/\/etc\/sysconfig\/wmstyle/) {
 		if (/\/etc\/sysconfig\// && /%config/ && !/%config\(noreplace\)/) {
 			gsub("%config", "%config(noreplace)")
 		}
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list