debian/cubicweb-ctl.postrm
author Rémi Cardona <remi.cardona@logilab.fr>
Tue, 08 Dec 2015 16:27:05 +0100
changeset 10968 9c6c3e68422e
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[web/views] Controllers should always return bytes Previous code breaks only on py3k.

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