debian/cubicweb-twisted.postinst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 19 May 2016 14:21:21 +0200
changeset 11249 0ff4c02a1871
parent 0 b97547f5f1fa
permissions -rw-r--r--
[test] Fix devtools unittest_i18n when ran without pytest There is currently some weird error, requiring both to hack cubicweb.__path__ and to stop using load_module_from_name to load the registry. Introduce a dependency on to-be-released version of logilab common integrating fix for https://www.logilab.org/ticket/6085650 Do some extra import cleanups along the way.

#! /bin/sh -e

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