debian/cubicweb-server.prerm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Sat, 01 Oct 2016 11:56:27 +0200
changeset 11765 9cb215e833b0
parent 0 b97547f5f1fa
permissions -rw-r--r--
[cnx] Use entity_type instead of entity_metas()['type'] The latter is deprecated in favor of the former which has been introduced on cnx to replace it.

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