debian/cubicweb-server.prerm
author Rémi Cardona <remi.cardona@logilab.fr>
Fri, 03 Jul 2015 12:07:44 +0200
changeset 10505 a9becf2cce8b
parent 0 b97547f5f1fa
permissions -rw-r--r--
[web] Stop using negative indices with os.stat results The python doc says: More items may be added at the end by some implementations. .st_mtime is also more readable than [-2].

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