debian/cubicweb-documentation.prerm
author David Douard <david.douard@logilab.fr>
Wed, 03 Apr 2013 12:17:24 +0200
changeset 8851 0020aa12af07
parent 0 b97547f5f1fa
permissions -rw-r--r--
[c-c create] make post-create step optional (closes #2712041) In this context the "post-create" step refers to the database's creation and initialization. We want to be able to create a new instance but skip the database creation (`db-create` and `db-init` commands) in automatic setup.

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