debian/cubicweb-ctl.prerm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 02 Dec 2009 16:56:28 +0100
branchstable
changeset 3973 1c09d2fd38c5
parent 0 b97547f5f1fa
child 6917 e080e7465ac4
permissions -rw-r--r--
allow to override is_primary result using an argument given to object constructor (have to be given to 'initargs' argument of .render like initargs={'is_primary': False}

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