partial backport of support for adbh's new interface to backup_command and restore_command
these methods can return lists or strings which are passed to subprocess.call
without or with the shell=True parameter respectively.
#! /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