debian/cubicweb-ctl.postrm
author Denis Laxalde <denis.laxalde@logilab.fr>
Tue, 19 Jul 2016 10:47:29 +0200
changeset 11427 7d38eb1bcd1f
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[test] Check retcode of subprocesses in devctl tests And display decoded stdout in case of failure.

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