debian/cubicweb-server.prerm
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Wed, 27 Apr 2011 16:10:10 +0200
brancholdstable
changeset 7261 1d1446e9dfe2
parent 0 b97547f5f1fa
permissions -rw-r--r--
place the disable hooks context manager at the right place (closes: #1626694) hooks control is reset at each commit so we need to have a smaller scope for the CM in the 3.10.9 migration script

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