debian/cubicweb-server.prerm
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 03 Mar 2011 11:52:35 +0100
branchstable
changeset 7052 9680cf108821
parent 0 b97547f5f1fa
permissions -rw-r--r--
[test/windmill] Gracefully skip windmill test if windmill can't be imported. If windmill import fails the windmill module is set to None and a dummy CubicWebWindmillUseCase test class is create. This class contains a test that skip itself with a proper warning message.

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