debian/cubicweb-ctl.postrm
author Rabah Meradi <rabah.meradi@logilab.fr>
Wed, 25 Nov 2015 18:31:48 +0100
changeset 10932 cb217b2b3463
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[views] remove breadcrumbs usage to retrieve last visited page Use JavaScript history.back to go to the last visited page. Rename _return_to_lastpage to _redirect as it becomes misnamed. Drop `test_redirect_default` test in `unittest_views_basecontrollers` which essentially tested this (now removed) breadcrumbs "feature". Closes #5456850.

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