debian/cubicweb-twisted.prerm
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 18 Nov 2009 10:05:41 +0100
branchstable
changeset 3872 8b1b9179f100
parent 0 b97547f5f1fa
permissions -rw-r--r--
[migration] avoid AssertionError / crashes if migration script is neither a py nor a sql file

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