debian/cubicweb-ctl.postrm
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 08 Jun 2016 22:49:21 +0200
changeset 11449 ea5299828d68
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[pkg] Make it clearer which entries of __pkginfo__ are actually used

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