debian/cubicweb-ctl.postrm
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Wed, 08 Feb 2017 10:31:26 +0100
changeset 11954 e0d708fb20e8
parent 11832 e8be49ecb522
permissions -rw-r--r--
Make load_module() return existing module if present in sys.modules Otherwise the reload() builtin will not work correctly: https://www.python.org/dev/peps/pep-0302/#specification-part-1-the-importer-protocol

#!/bin/sh -e

if [ "$1" = "purge" ] ; then
        rm -rf /etc/cubicweb.d/
        rm -rf /var/log/cubicweb/
        rm -rf /var/lib/cubicweb/
fi

#DEBHELPER#
 
exit 0