debian/cubicweb-ctl.postrm
author Alexandre Richardson <alexandre.richardson@logilab.fr>
Tue, 12 Jan 2016 17:36:28 +0100
changeset 11168 dfa5f8879e8f
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[rset] refactoring of _build_entity method define a method for entity instantiation and storage in cache (related to #9942503)

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