Files
ofbiz-framework/debian/ofbiz-applications.prerm
T
Adam Heath ebab10ece3 Start making use of dpkg triggers, so that ofbiz only gets stopped/
started once per dpkg run, and so that installation is delayed to
the end of the dpkg run as well.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753322 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 17:27:18 +00:00

13 lines
235 B
Bash

#!/bin/sh
. /usr/share/debconf/confmodule
if [ -x "/etc/init.d/ofbiz" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d ofbiz stop || exit $?
else
/etc/init.d/ofbiz stop || exit $?
fi
fi
#DEBHELPER#
db_stop