[repo, hooks] small task optimization: don't start cleanup_old_transactions when undo support is not activated, and retrieve a session to update a source only when some source to update is found
#! /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