debian/cubicweb-ctl.prerm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 10 Mar 2014 16:07:41 +0100
branchstable
changeset 9564 e2d5b0712974
parent 6917 e080e7465ac4
permissions -rw-r--r--
[test] when the config change, we should cleanup sys.path and sys.modules. Closes #3634164 Without this, modules imported within instance home will be messed up.

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