debian/cubicweb-ctl.postrm
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 29 Mar 2016 16:56:59 +0200
changeset 11226 6b0807ba056a
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[devtools] fix sorting in ExecutionPlan._check_permissions on python3 Sort lists instead of dict_items objects to get predictable results. With this change, unittest_querier.UtilsTC.test_preprocess_security passes every time instead of once in a blue moon. Closes #11759133.

#!/bin/sh -e

if [ "$1" = "remove" ]; then
        update-rc.d cubicweb remove >/dev/null
fi
 
if [ "$1" = "purge" ] ; then
        rm -rf /etc/cubicweb.d/
        rm -rf /var/log/cubicweb/
        rm -rf /var/lib/cubicweb/
fi

#DEBHELPER#
 
exit 0