debian/cubicweb-ctl.postrm
author Julien Jehannet <julien.jehannet@logilab.fr>
Fri, 28 Jan 2011 15:23:47 +0100
branchstable
changeset 6918 9e607157d4cf
parent 0 b97547f5f1fa
child 10559 5821ae654dfd
permissions -rw-r--r--
[cw-ctl] use default `mkdtemp()` behaviour to store backup file internally When using `mkdtemp(dir=instbkdir)`, a dedicated system user which hasn't the permissions to write in /var/lib/cubicweb/instances/$INSTANCE/backup will not be able to run the db-dump command.

#!/bin/sh -e
if [ "$1" = "purge" ] ; then
        update-rc.d cubicweb remove >/dev/null
fi
 
#DEBHELPER#
 
exit 0