debian/cubicweb-twisted.postinst
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 14 Jun 2013 11:53:40 +0200
changeset 9008 e0aa7cf8abf8
parent 0 b97547f5f1fa
permissions -rw-r--r--
repository: make tests pass again The tests use mono-threaded pyro, which breaks assumptions made in e27337dfec8c. To fix that, remove sessions from the _pyro_sessions dict when they're closed, and force the test pyro client to actually disconnect when it's done.

#! /bin/sh -e

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