debian/cubicweb-server.postinst
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

if [ -x "/etc/init.d/cubicweb-ctl" ]; then
    invoke-rc.d cubicweb-ctl restart || true
fi
 
 
#DEBHELPER#
 
exit 0