debian/cubicweb-ctl.postrm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 20 Jun 2016 18:00:00 +0200
changeset 11362 ebe75d73acdd
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[schema sync] Rename index when an entity type is renamed So we may still find them later using their expected name, and avoid collisions. Closes #13822045

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