debian/cubicweb-twisted.postinst
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

if [ -x "/etc/init.d/cubicweb-ctl" ]; then
    invoke-rc.d cubicweb-ctl restart || true
fi
 
 
#DEBHELPER#
 
exit 0