debian/cubicweb-ctl.postrm
author Florent Cayré <florent.cayre@gmail.com>
Fri, 20 Jan 2017 03:48:11 +0100
branch3.24
changeset 11926 2deb9f6cbb7b
parent 11832 e8be49ecb522
permissions -rw-r--r--
[source,native] Generalize the IntegrityError constraint parsing regex This allows catching constraint-related errors that have been translated by psycopg2, replacing surrounding english quotes by french quotes + space for instance. Closes #17047951.

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