debian/cubicweb-ctl.postrm
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 19 Oct 2015 17:54:26 +0200
changeset 10819 5b5864483c4d
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[devtools] fix ResourceWarning: unclosed file tmpdb-__default_empty_db__.config

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