debian/cubicweb-twisted.prerm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 17 Nov 2016 10:15:11 +0100
branch3.24
changeset 11825 52acf0dbf4cd
parent 0 b97547f5f1fa
permissions -rw-r--r--
[web] Simplify a bit language handling Drop `set_default_language` and `set_user_language` by considering that: * before being bound to the user, request will have the site's default language * cnx has the user's preferred language, hence get it back to the request when it's bound to a connection The first point requires some change to cubicweb's vreg faking so it doesn't break. That should be enough.

#! /bin/sh -e
 
case "$1" in
    remove)
	if [ -x "/etc/init.d/cubicweb-ctl" ]; then
	    invoke-rc.d cubicweb-ctl stop || true
	fi
    ;;
esac
 
#DEBHELPER#
 
exit 0