debian/cubicweb-server.prerm
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 17 Nov 2016 10:47:52 +0100
branch3.24
changeset 11823 4f43e64603ef
parent 0 b97547f5f1fa
permissions -rw-r--r--
Alias ugettext to gettext method of cwGNUTranslations in Python 3 The former does not exist in Python 3, but we rely on it. This fixes test_login_bad_password in cubicweb/pyramid/test/test_login.py which has never passed since being introduced in 6392f34fcdad.

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