debian/cubicweb-server.prerm
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 26 Sep 2013 11:53:13 +0200
branchstable
changeset 9240 6356adcb652c
parent 0 b97547f5f1fa
permissions -rw-r--r--
[server] Make internal sessions not reset 'safe'-ness on first commit Increment the ctx_count when disabling integrity hooks so the next commit/rollback doesn't reset our transaction and magically turn us into a safe session. Closes #3168027

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