r901 - in /zope-debhelper/trunk/autoscripts: config-dzinstance postinst-dzinstance postrm-dzinstance preinst-dzinstance prerm-dzinstance

kobold at users.alioth.debian.org kobold at users.alioth.debian.org
Sat Jun 16 18:41:22 UTC 2007


Author: kobold
Date: Sat Jun 16 18:41:22 2007
New Revision: 901

URL: http://svn.debian.org/wsvn/pkg-zope/?sc=1&rev=901
Log:
Fixed bashisms.

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

Modified: zope-debhelper/trunk/autoscripts/config-dzinstance
URL: http://svn.debian.org/wsvn/pkg-zope/zope-debhelper/trunk/autoscripts/config-dzinstance?rev=901&op=diff
==============================================================================
--- zope-debhelper/trunk/autoscripts/config-dzinstance (original)
+++ zope-debhelper/trunk/autoscripts/config-dzinstance Sat Jun 16 18:41:22 2007
@@ -129,7 +129,7 @@
             fi
             ;;
         5)
-            if [ "$DATABASE" == "ZEO" ]; then
+            if [ "$DATABASE" = "ZEO" ]; then
                 db_register zope-common/instance-zeo-port $PKG/instance-zeo-port
                 db_subst $PKG/instance-zeo-port instance "$INSTANCE" || true
                 db_fget $PKG/instance-zeo-port seen

Modified: zope-debhelper/trunk/autoscripts/postinst-dzinstance
URL: http://svn.debian.org/wsvn/pkg-zope/zope-debhelper/trunk/autoscripts/postinst-dzinstance?rev=901&op=diff
==============================================================================
--- zope-debhelper/trunk/autoscripts/postinst-dzinstance (original)
+++ zope-debhelper/trunk/autoscripts/postinst-dzinstance Sat Jun 16 18:41:22 2007
@@ -48,7 +48,7 @@
         db_get $PKG/instance-http-port
         port="$RET"
         
-        if [ "$DATABASE" == "ZEO" ]; then
+        if [ "$DATABASE" = "ZEO" ]; then
             db_get $PKG/instance-zeo-port
             zeoport="$RET"
             dzhandle -z $ZVER make-zeoinstance $INSTANCE $zeoport

Modified: zope-debhelper/trunk/autoscripts/postrm-dzinstance
URL: http://svn.debian.org/wsvn/pkg-zope/zope-debhelper/trunk/autoscripts/postrm-dzinstance?rev=901&op=diff
==============================================================================
--- zope-debhelper/trunk/autoscripts/postrm-dzinstance (original)
+++ zope-debhelper/trunk/autoscripts/postrm-dzinstance Sat Jun 16 18:41:22 2007
@@ -17,7 +17,7 @@
     ;;
 
   remove)
-    if [ "$DATABASE" == "ZEO" ]; then
+    if [ "$DATABASE" = "ZEO" ]; then
         dzhandle -z $ZVER zeoctl $INSTANCE stop || true
     fi
     dzhandle -z $ZVER zopectl $INSTANCE stop || true
@@ -29,7 +29,7 @@
     if [ "$RET" = yes ]; then
 	    echo >&2 "$PKG is configured to keep the data file on purge"
     else
-        if [ "$DATABASE" == "ZEO" ]; then
+        if [ "$DATABASE" = "ZEO" ]; then
             dzhandle -z $ZVER purge-zeoinstance $INSTANCE || true
         fi
         rm -rf /var/lib/zope$ZVER/instance/$INSTANCE \

Modified: zope-debhelper/trunk/autoscripts/preinst-dzinstance
URL: http://svn.debian.org/wsvn/pkg-zope/zope-debhelper/trunk/autoscripts/preinst-dzinstance?rev=901&op=diff
==============================================================================
--- zope-debhelper/trunk/autoscripts/preinst-dzinstance (original)
+++ zope-debhelper/trunk/autoscripts/preinst-dzinstance Sat Jun 16 18:41:22 2007
@@ -6,7 +6,7 @@
 case "$1" in
     install|upgrade)
 	if [ "$1" = "upgrade" ]; then
-        if [ "$DATABASE" == "ZEO" ]; then
+        if [ "$DATABASE" = "ZEO" ]; then
 	        dzhandle -z $ZVER zeoctl $INSTANCE stop || true
         fi
 	    dzhandle -z $ZVER zopectl $INSTANCE stop || true

Modified: zope-debhelper/trunk/autoscripts/prerm-dzinstance
URL: http://svn.debian.org/wsvn/pkg-zope/zope-debhelper/trunk/autoscripts/prerm-dzinstance?rev=901&op=diff
==============================================================================
--- zope-debhelper/trunk/autoscripts/prerm-dzinstance (original)
+++ zope-debhelper/trunk/autoscripts/prerm-dzinstance Sat Jun 16 18:41:22 2007
@@ -15,7 +15,7 @@
 
 case "$1" in
   remove|upgrade)
-    if [ "$DATABASE" == "ZEO" ]; then
+    if [ "$DATABASE" = "ZEO" ]; then
         dzhandle -z $ZVER zeoctl $INSTANCE stop || true
     fi
     dzhandle -z $ZVER zopectl $INSTANCE stop || true




More information about the pkg-zope-commits mailing list