debian/cubicweb-ctl.postrm
author Samuel Trégouët <samuel.tregouet@logilab.fr>
Fri, 19 Feb 2016 11:23:11 +0100
changeset 11148 244e30f18720
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[pkg] fix centos install

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