[packages/adapter: 308/631] - zope install program path is ok

glen glen at pld-linux.org
Mon Sep 12 20:00:16 CEST 2016


commit 836e411fba1a09956085bbda633631b76b864215
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Mar 24 19:25:49 2006 +0000

    - zope install program path is ok
    
    Changed files:
        adapter.awk -> 1.298

 adapter.awk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 2ad879e..c9cbefa 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1029,12 +1029,15 @@ function use_macros()
 			continue;
 		if ($c ~ sbindir "/chkconfig")
 			continue;
+		if ($c ~ sbindir "/installzope(product|3package)")
+			continue;
 		gsub(sbindir, "%{_sbindir}", $c)
 	}
 
 	gsub("%{prefix}/sbin", "%{_sbindir}")
-	if (prefix"/sbin" == sbindir)
+	if (prefix"/sbin" == sbindir) {
 		gsub("%{_prefix}/sbin", "%{_sbindir}")
+	}
 
 	for (c = 1; c <= NF; c++) {
 		if ($c ~ sysconfdir "/{?cron.")
@@ -1132,6 +1135,8 @@ function use_macros()
 					continue;
 				if ($c ~ prefix "/sbin/usermod")
 					continue;
+				if ($c ~ prefix "/sbin/installzope(product|3package)")
+					continue;
 				if ($c ~ prefix "/share/automake")
 					continue;
 				if ($c ~ prefix "/share/unsermake")
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list