debian/cubicweb-server.prerm
author Florent Cayré <florent.cayre@gmail.com>
Wed, 09 Nov 2016 23:00:00 +0100
branch3.24
changeset 11818 fdc0a8260fd2
parent 0 b97547f5f1fa
permissions -rw-r--r--
[devctl] Optimize cleanup_sys_modules a bit by moving out of a loop a costly computation that is constant. This at least benefits the `i18ncube` command. Related to #15789486.

#! /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