SOURCES: installzope3package - meta doesn't always exist

arekm arekm at pld-linux.org
Tue Dec 20 23:15:51 CET 2005


Author: arekm                        Date: Tue Dec 20 22:15:51 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- meta doesn't always exist

---- Files affected:
SOURCES:
   installzope3package (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/installzope3package
diff -u SOURCES/installzope3package:1.1 SOURCES/installzope3package:1.2
--- SOURCES/installzope3package:1.1	Tue Aug 30 14:28:51 2005
+++ SOURCES/installzope3package	Tue Dec 20 23:15:46 2005
@@ -15,7 +15,9 @@
 
 if [ "${pkg_dir}" != "-d" ] ; then
 	for instance in $AUTO_INSTALL_PRODUCTS ; do
-		ln -s "/etc/zope3/zopeskel/package-includes/${pkg_name}"-{meta,configure}.zcml "/etc/zope3/${instance}/package-includes"
+		[ -e "/etc/zope3/zopeskel/package-includes/${pkg_name}-meta.zcml" ] && \
+			ln -s "/etc/zope3/zopeskel/package-includes/${pkg_name}-meta.zcml" "/etc/zope3/${instance}/package-includes"
+		ln -s "/etc/zope3/zopeskel/package-includes/${pkg_name}-configure.zcml" "/etc/zope3/${instance}/package-includes"
 	done
 else
 	for instance in $AUTO_INSTALL_PRODUCTS ; do
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/installzope3package?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list