- meta doesn't always exist
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 20 Dec 2005 22:15:46 +0000 (22:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    installzope3package -> 1.2

installzope3package

index adb8149..95a56d4 100644 (file)
@@ -15,7 +15,9 @@ AUTO_INSTALL_PRODUCTS=main
 
 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
This page took 0.058093 seconds and 4 git commands to generate.