[packages/adapter: 174/631] - replace back known /etc/ entries
glen
glen at pld-linux.org
Mon Sep 12 19:49:03 CEST 2016
commit 8f6ddcd9da7f316e9db544f03bb5699fb8c3e381
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Sat Jul 30 12:35:11 2005 +0000
- replace back known /etc/ entries
Changed files:
adapter.awk -> 1.167
adapter.awk | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index ec38828..622f4e5 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -761,9 +761,17 @@ function use_files_macros( i, n, t, a)
gsub("^%{_bindir}", "%attr(755,root,root) %{_bindir}")
# replace back
- gsub("%{_sysconfdir}/rc\.d/init.d", "/etc/rc.d/init.d")
+ gsub("%{_sysconfdir}/cron\.d", "/etc/cron.d")
+ gsub("%{_sysconfdir}/crontab\.d", "/etc/cron.d")
+ gsub("%{_sysconfdir}/logrotate\.d", "/etc/logrotate.d")
+ gsub("%{_sysconfdir}/pam\.d", "/etc/pam.d")
+ gsub("%{_sysconfdir}/profile\.d", "/etc/profile.d")
+ gsub("%{_sysconfdir}/rc\.d", "/etc/rc.d")
+ gsub("%{_sysconfdir}/security", "/etc/security")
+ gsub("%{_sysconfdir}/skel", "/etc/skel")
+ gsub("%{_sysconfdir}/sysconfig", "/etc/sysconfig")
+ gsub("%{_sysconfdir}/certs", "/etc/certs")
gsub("%{_sysconfdir}/init.d", "/etc/init.d")
- gsub("%{_sysconfdir}\/sysconfig", "/etc/sysconfig")
# /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