debian/cubicweb-ctl.postrm
author Rémi Cardona <remi.cardona@logilab.fr>
Tue, 22 Sep 2015 15:00:41 +0200
changeset 10728 48c6de7321d8
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[py3k] unicode → six.text_type

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