debian/cubicweb-ctl.prerm
author Rémi Cardona <remi.cardona@logilab.fr>
Fri, 03 Jul 2015 12:07:44 +0200
changeset 10505 a9becf2cce8b
parent 6917 e080e7465ac4
permissions -rw-r--r--
[web] Stop using negative indices with os.stat results The python doc says: More items may be added at the end by some implementations. .st_mtime is also more readable than [-2].

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