[packages/adapter: 54/631] - do not subst /etc//profile.d.
glen
glen at pld-linux.org
Mon Sep 12 19:38:59 CEST 2016
commit 66ef7810872a7e443a269bf2e7cb9b3feba665d9
Author: kloczek <kloczek at pld-linux.org>
Date: Tue May 16 22:27:57 2000 +0000
- do not subst /etc//profile.d.
Changed files:
adapter.awk -> 1.54
adapter.awk | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index f40312e..a0b2ef5 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -405,18 +405,20 @@ function use_macros()
gsub("%{_prefix}/lib", "%{_libdir}")
for (c = 1; c <= NF; c++) {
- if ($c ~ sysconfdir "/sysconfig")
- continue;
- if ($c ~ sysconfdir "/rc.d")
+ if ($c ~ sysconfdir "/logrotate.d")
continue;
if ($c ~ sysconfdir "/pam.d")
continue;
- if ($c ~ sysconfdir "/logrotate.d")
+ if ($c ~ sysconfdir "/profile.d")
+ continue;
+ if ($c ~ sysconfdir "/rc.d")
continue;
if ($c ~ sysconfdir "/security")
continue;
if ($c ~ sysconfdir "/skel")
continue;
+ if ($c ~ sysconfdir "/sysconfig")
+ continue;
gsub(sysconfdir, "%{_sysconfdir}", $c)
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list