debian/cubicweb-ctl.postrm
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 19 Nov 2015 14:36:54 +0100
changeset 10843 580a6821713d
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[test] pull yapps from Logilab's github Fixes a couple of failures, pull request is almost a year old (https://github.com/smurfix/yapps/pull/2).

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