debian/cubicweb-server.prerm
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 17 Nov 2009 11:46:07 +0100
branchstable
changeset 3869 ec6463886ac4
parent 0 b97547f5f1fa
permissions -rw-r--r--
[server] remove not-so-useful entity_name and entity_attr functions, introduce entity_oldnewvalue entity_oldnewvalue(entity, attr) is usable in before_update_entity and returns both old and new value of entity

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