debian/cubicweb-server.prerm
author Rémi Cardona <remi.cardona@logilab.fr>
Thu, 02 Jul 2015 15:31:48 +0200
changeset 10484 7f15552b7463
parent 0 b97547f5f1fa
permissions -rw-r--r--
[migration/3.21] idempotency fixes Drop constraints before (re)creating them This is postgresql-specific syntax, sqlserver needs work.

#! /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