debian/cubicweb-server.prerm
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 16 Jul 2014 17:20:55 +0200
changeset 9888 5b48dcc02be1
parent 0 b97547f5f1fa
permissions -rw-r--r--
[hooks/syncschema] avoid altering a dropped table If the constraint's rdef is being removed, CWConstraintDelOp doesn't need to do anything. Otherwise it may try to alter a removed table/column. Closes #4154549

#! /bin/sh -e
 
case "$1" in
    remove)
	if [ -x "/etc/init.d/cubicweb-ctl" ]; then
	    invoke-rc.d cubicweb-ctl stop || true
	fi
    ;;
esac
 
#DEBHELPER#
 
exit 0