debian/cubicweb-ctl.postrm
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 23 Nov 2015 19:18:08 +0100
changeset 10925 a9a5772a5ee6
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
Un-hide jshintrc dot-files belong in ~, not anywhere else.

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