debian/cubicweb-ctl.postrm
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 21 Jan 2016 09:24:04 +0100
changeset 11136 b14885133f90
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[test] Make sure that newcube command test produces expected files

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