debian/cubicweb-ctl.postrm
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 04 Dec 2013 19:11:04 +0100
branchstable
changeset 9354 523273da6738
parent 0 b97547f5f1fa
child 10559 5821ae654dfd
permissions -rw-r--r--
[server] avoid race-condition in timer events With a granularity of one second, there's a good chance calling localtime twice will return the same value. We should consider the event ready immediately if that happens, not wait one second.

#!/bin/sh -e
if [ "$1" = "purge" ] ; then
        update-rc.d cubicweb remove >/dev/null
fi
 
#DEBHELPER#
 
exit 0