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
13 lines
235 B
Bash
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
|