debian/cubicweb-ctl.postrm
author David Douard <david.douard@logilab.fr>
Wed, 03 Apr 2013 12:17:24 +0200
changeset 8851 0020aa12af07
parent 0 b97547f5f1fa
child 10559 5821ae654dfd
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" = "purge" ] ; then
        update-rc.d cubicweb remove >/dev/null
fi
 
#DEBHELPER#
 
exit 0