r1690 - in zope-debhelper/trunk/autoscripts (3 files)

Jonas Meurer mejo at alioth.debian.org
Sun Aug 9 15:19:40 UTC 2009


    Date: Sunday, August 9, 2009 @ 15:19:40
  Author: mejo
Revision: 1690

fix INVOKE to actually point to zope init script

Modified:
  zope-debhelper/trunk/autoscripts/postrm-dzinstance
  zope-debhelper/trunk/autoscripts/preinst-dzinstance
  zope-debhelper/trunk/autoscripts/prerm-dzinstance

Modified: zope-debhelper/trunk/autoscripts/postrm-dzinstance
===================================================================
--- zope-debhelper/trunk/autoscripts/postrm-dzinstance	2009-08-09 15:03:53 UTC (rev 1689)
+++ zope-debhelper/trunk/autoscripts/postrm-dzinstance	2009-08-09 15:19:40 UTC (rev 1690)
@@ -23,10 +23,10 @@
     ;;
 
   remove)
-    $INVOKE zope$ZVER stop "INSTANCE=$INSTANCE" || true
+    $INVOKE stop "INSTANCE=$INSTANCE" || true
     dzhandle -z $ZVER remove-instance $INSTANCE || true
     if [ "$DATABASE" = "ZEO" ]; then
-	$INVOKE zope$ZVER stop "ZEOSERVER=$INSTANCE" || true
+	$INVOKE stop "ZEOSERVER=$INSTANCE" || true
         dzhandle -z $ZVER remove-zeoinstance $INSTANCE || true
     fi
     ;;

Modified: zope-debhelper/trunk/autoscripts/preinst-dzinstance
===================================================================
--- zope-debhelper/trunk/autoscripts/preinst-dzinstance	2009-08-09 15:03:53 UTC (rev 1689)
+++ zope-debhelper/trunk/autoscripts/preinst-dzinstance	2009-08-09 15:19:40 UTC (rev 1690)
@@ -13,9 +13,9 @@
     install|upgrade)
 	if [ "$1" = "upgrade" ]; then
 	    if [ "$DATABASE" = "ZEO" ]; then
-		$INVOKE zope$ZVER stop "ZEOSERVER=$INSTANCE" || true
+		$INVOKE stop "ZEOSERVER=$INSTANCE" || true
 	    fi
-	    $INVOKE zope$ZVER stop "INSTANCE=$INSTANCE" || true
+	    $INVOKE stop "INSTANCE=$INSTANCE" || true
 	fi
 	;;
     failed-upgrade)

Modified: zope-debhelper/trunk/autoscripts/prerm-dzinstance
===================================================================
--- zope-debhelper/trunk/autoscripts/prerm-dzinstance	2009-08-09 15:03:53 UTC (rev 1689)
+++ zope-debhelper/trunk/autoscripts/prerm-dzinstance	2009-08-09 15:19:40 UTC (rev 1690)
@@ -22,9 +22,9 @@
 case "$1" in
   remove|upgrade)
     if [ "$DATABASE" = "ZEO" ]; then
-	$INVOKE zope$ZVER stop "ZEOSERVER=$INSTANCE" || true
+	$INVOKE stop "ZEOSERVER=$INSTANCE" || true
     fi
-    $INVOKE zope$ZVER stop "INSTANCE=$INSTANCE" || true
+    $INVOKE stop "INSTANCE=$INSTANCE" || true
     remove_products || true
     ;;
 




More information about the pkg-zope-commits mailing list