debian/cubicweb-ctl.postrm
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Thu, 19 Dec 2019 12:14:52 +0100
branch3.22
changeset 12838 8db162bae07d
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
closing branch 3.22

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