debian/cubicweb-documentation.prerm
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 21 Jan 2014 11:57:02 +0100
changeset 9421 6b673cb4d3b6
parent 0 b97547f5f1fa
permissions -rw-r--r--
[migractions] Don't silently ignore errors when installing sql procedures If we're going to ignore errors, at least be loud about it. sqlexec already wraps the sql execution in a try/except block, so we were never going to catch any exceptions in the caller. Check the return value instead. Closes #3459618.

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