debian/cubicweb-ctl3.postrm
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 12 Jul 2019 11:49:46 +0200
branch3.26
changeset 12697 3b48af0ec776
parent 11832 debian/cubicweb-ctl.postrm@e8be49ecb522
permissions -rw-r--r--
[debian] Introduce a cubicweb-ctl3 binary package This packages conflicts with cubicweb-ctl binary which uses the python2 library. It is meant to ease upgrade of existing installation during the migration from python2 to python3: in particular, by installing cubicweb-ctl3, scripts calling "cubicweb-ctl" command should still work as before.

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