[packages/adapter: 423/631] - skip /etc/tmpwatch, /etc/pki
glen
glen at pld-linux.org
Mon Sep 12 20:09:54 CEST 2016
commit be827f42a727c87685646be7b39d5b4a0b3b5016
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Mon Oct 6 06:21:23 2008 +0000
- skip /etc/tmpwatch, /etc/pki
Changed files:
adapter.awk -> 1.403
adapter.awk | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index d21ee05..081317d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1184,6 +1184,8 @@ function use_macros()
continue;
if ($c ~ sysconfdir "/dbus-1")
continue;
+ if ($c ~ sysconfdir "/tmpwatch")
+ continue;
gsub(sysconfdir, "%{_sysconfdir}", $c)
}
@@ -1400,6 +1402,8 @@ function use_files_macros( i, n, t, a)
gsub("%{_sysconfdir}/certs", "/etc/certs")
gsub("%{_sysconfdir}/init.d", "/etc/init.d")
gsub("%{_sysconfdir}/dbus-1", "/etc/dbus-1")
+ gsub("%{_sysconfdir}/pki", "/etc/pki")
+ gsub("%{_sysconfdir}/tmpwatch", "/etc/tmpwatch")
# /etc/init.d -> /etc/rc.d/init.d
if (!/^\/etc\/init\.d$/) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list