debian/cubicweb-ctl.postrm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 07 Mar 2017 12:08:39 +0100
changeset 12006 c2230b7f6358
parent 11832 e8be49ecb522
permissions -rw-r--r--
[web] Don't raise ProcessFormError if there is no value specified a03376213747 introduced a slight modification in None / empty string values and with it a regression where an exception is raised on empty values, while we should simply consider no value is specified and return None.

#!/bin/sh -e

if [ "$1" = "purge" ] ; then
        rm -rf /etc/cubicweb.d/
        rm -rf /var/log/cubicweb/
        rm -rf /var/lib/cubicweb/
fi

#DEBHELPER#
 
exit 0