debian/cubicweb-ctl.prerm
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 09 Jun 2011 12:20:57 +0200
branchstable
changeset 7477 3d64867f1019
parent 6917 e080e7465ac4
permissions -rw-r--r--
[bfss] Catch EnvironmentError instead of OSError when trying to read attributes bffstored This will also catch IOError (as file not found) that might be encountered expectable too.

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