debian/cubicweb-twisted.prerm
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 20 Jul 2016 09:09:34 +0200
changeset 11429 6a9a9ea1e9b9
parent 0 b97547f5f1fa
permissions -rw-r--r--
Remove usage of cnx.ensure_cnx_set context manager It has been deprecated since 3.21, no reason to keep using it internally.

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