debian/cubicweb-ctl.postrm
author Jérémy Bobbio <jeremy.bobbio@irq7.fr>
Thu, 13 Jun 2019 16:47:47 +0200
branch3.26
changeset 12701 d8c491c1e580
parent 11832 e8be49ecb522
permissions -rw-r--r--
[pkg] Tidy substvars usage in control file The documentation package was missing a Built-Using field to record the provenance of the templates. Empty packages or meta packages do not require Depends on a specific Python version, so we can remove the relevant substvars.

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