debian/cubicweb-ctl.postrm
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 05 Oct 2016 09:56:26 +0200
changeset 11697 7b6c3cb0e103
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[skeleton] Have setuptools install data files Just add `include_package_data=True` as recommended by `setuptools documentation`_ as this appears to be the simplest way to handle this. Related to #13001466. .. _`setuptools documentation`: \ http://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files

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