debian/cubicweb-server.prerm
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 17 Dec 2014 10:55:53 +0100
changeset 10114 6f4b4567b77d
parent 0 b97547f5f1fa
permissions -rw-r--r--
[security] check attributes: dispatch on the "add" action if entity was just created cw_set on a just-created entity (i.e. created in the same transaction) should behave the same as setting the attribute directly on creation: check the 'add' permissions, not 'update'. Closes #4740310.

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