debian/cubicweb-ctl.prerm
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 25 Mar 2013 16:35:18 +0100
changeset 8789 465a87e6a89a
parent 6917 e080e7465ac4
permissions -rw-r--r--
[transaction] use set operation in the hook control code We use direct operator on set instead of looping by hand, This simplify the codes.

#! /bin/sh -e
 
case "$1" in
    purge)
	rm -rf /etc/cubicweb.d/
	rm -rf /var/log/cubicweb/
	rm -rf /var/lib/cubicweb/
    ;;
esac
 
#DEBHELPER#
 
exit 0