debian/cubicweb-twisted.prerm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 20 Mar 2014 08:45:52 +0100
changeset 9602 9fb2f15d5e85
parent 0 b97547f5f1fa
permissions -rw-r--r--
[sources] Skip problematic sources when starting shell instead of crashing. Closes #3670208 At least this gives an opportunity to fix the problem in using c-c shell, which is currently not possible because it crashes during initialization. Notice that since sources are copy based, it should not be a problem at all to have some disabled, beside for services such as authentication sources as ldapfeed.

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