debian/cubicweb-twisted.prerm
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 24 Oct 2016 09:31:55 +0200
changeset 11744 a6dc650bc230
parent 0 b97547f5f1fa
permissions -rw-r--r--
[test] Replace logilab-common's with_tempdir by tempfile.TemporaryDirectory logilab-common's with_tempdir decorator, which is considered harmful (see https://www.logilab.org/ticket/8267966). Rely on backports.tempfile to provide TemporaryDirectory on Python 2. Re-export it in testlib module for convenience.

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