debian/cubicweb-documentation.prerm
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 27 Feb 2014 18:10:29 +0100
branchstable
changeset 9559 072429be2d95
parent 0 b97547f5f1fa
permissions -rw-r--r--
[hooks/syncschema] do not crash on double removal of a constraint Some complicated migrations may entail a double constraint removal. It is not yet known whether this is a genuine cw bug or the result of a complicated migration story, but we should nevertheless not crash. Rather, emit a CRITICAL warning and proceed. Closes #3595309.

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