r570 - in zope-debhelper/trunk: autoscripts debian

Fabio Tranchitella kobold at alioth.debian.org
Mon Jan 8 09:39:09 CET 2007


Author: kobold
Date: 2007-01-08 09:39:09 +0100 (Mon, 08 Jan 2007)
New Revision: 570

Modified:
   zope-debhelper/trunk/autoscripts/postinst-dzinstance
   zope-debhelper/trunk/debian/changelog
Log:
Preparing the new release.


Modified: zope-debhelper/trunk/autoscripts/postinst-dzinstance
===================================================================
--- zope-debhelper/trunk/autoscripts/postinst-dzinstance	2007-01-08 08:23:14 UTC (rev 569)
+++ zope-debhelper/trunk/autoscripts/postinst-dzinstance	2007-01-08 08:39:09 UTC (rev 570)
@@ -18,6 +18,11 @@
         # instance already exists
         echo "Zope$ZVER instance '$INSTANCE' already exists".
         add_products
+        if ! dzhandle -z $ZVER zopectl $INSTANCE start; then
+            echo "Could not start zope instance $INSTANCE. Please check"
+            echo "for errors running the instance by hand:"
+            echo "  /var/lib/zope$ZVER/instance/$INSTANCE/runzope"
+        fi
     else
         if [ -d /var/lib/zope$ZVER/instance/$INSTANCE ] && \
                 [ ! -f /var/lib/zope$ZVER/instance/$INSTANCE/var/Data.fs ]; then

Modified: zope-debhelper/trunk/debian/changelog
===================================================================
--- zope-debhelper/trunk/debian/changelog	2007-01-08 08:23:14 UTC (rev 569)
+++ zope-debhelper/trunk/debian/changelog	2007-01-08 08:39:09 UTC (rev 570)
@@ -1,3 +1,11 @@
+zope-debhelper (0.3.5) unstable; urgency=medium
+
+  * autoscripts/postinst-dzinstance: if we are upgrading an instance which
+    already exists, start it again at postinst time. Otherwise, the instance
+    will be stopped before the upgrade but never restarted.
+
+ -- Fabio Tranchitella <kobold at debian.org>  Mon,  8 Jan 2007 09:30:38 +0100
+
 zope-debhelper (0.3.4) unstable; urgency=low
 
   * Fixed rewriting of ZopeVersions field when used with a >= operator.




More information about the pkg-zope-commits mailing list