refactor validator selection using a content type based dictionnary (which may be overriden by view id) + functions to instrumentize the registry to check what's tested and what's not
#! /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