debian/cubicweb-documentation.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
#

if [ "$1" = remove -o "$1" = upgrade ]; then
  if which install-docs >/dev/null 2>&1; then
    install-docs -r cubicweb-doc
  fi
fi

#DEBHELPER#

exit 0