debian/cubicweb-ctl.postrm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Sat, 01 Oct 2016 11:56:27 +0200
changeset 11765 9cb215e833b0
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[cnx] Use entity_type instead of entity_metas()['type'] The latter is deprecated in favor of the former which has been introduced on cnx to replace it.

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