debian/cubicweb-ctl.postrm
author Denis Laxalde <denis.laxalde@logilab.fr>
Tue, 19 Jan 2016 16:44:34 +0100
changeset 11078 de4367ef4e5e
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[test] Use stdlib doctest module instead of logilab-common class The former just works fine now but the later does not play well with py.test.

#!/bin/sh -e

if [ "$1" = "remove" ]; then
        update-rc.d cubicweb remove >/dev/null
fi
 
if [ "$1" = "purge" ] ; then
        rm -rf /etc/cubicweb.d/
        rm -rf /var/log/cubicweb/
        rm -rf /var/lib/cubicweb/
fi

#DEBHELPER#
 
exit 0