debian/cubicweb-ctl.postrm
author Laurent Peuch <cortex@worlddomination.be>
Wed, 21 Aug 2019 02:10:12 +0200
changeset 12739 c6f8ca03718f
parent 11832 e8be49ecb522
permissions -rw-r--r--
[debug] syntax highlight SQL and RQL debug output This prevent DBG_RQL and DBG_SQL output to looks like a gigantic blob of white text. Do this only if we detect that we are in a tty and that pygments is installed. Closes #17222885

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