debian/cubicweb-ctl.postrm
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 03 Nov 2016 18:22:47 +0100
changeset 11795 031c99666221
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[pkg] Version 3.24.0

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