debian/cubicweb-ctl.postrm
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 13 Oct 2016 15:12:33 +0200
changeset 11790 04607da552ac
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[massive store] isolate SQL statements that one may want to customize i.e. provide public methods for meta data insertions

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