debian/cubicweb-server.prerm
author Rémi Cardona <remi.cardona@logilab.fr>
Mon, 14 Sep 2015 18:10:20 +0200
changeset 10621 987fbc88f097
parent 0 b97547f5f1fa
permissions -rw-r--r--
[devtools/testlib] Port CubicWebTC.view() to py3k testlib.TestCase.set_description's argument will eventually be printed out to sys.stdout/stderr. On python 2, this object takes bytes-like objects (eg, str) whereas python 3's takes unicode-like objects and handles the encoding on its own. Thus the 'str' type can used in both versions to eventually display the description on screen.

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