debian/cubicweb-ctl.prerm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 19 Jan 2011 18:01:28 +0100
branchstable
changeset 6850 2b9e58174327
parent 0 b97547f5f1fa
child 6917 e080e7465ac4
permissions -rw-r--r--
[repo] move cursor creation into the try/except, it may raises an InterfaceError if the connection is closed

#! /bin/sh -e
 
case "$1" in
    purge)
        rm -rf /etc/cubicweb.d/
    	rm -rf /var/run/cubicweb/
	rm -rf /var/log/cubicweb/
	rm -rf /var/lib/cubicweb/
    ;;
esac
 
#DEBHELPER#
 
exit 0