freebsd-ports/www/openbravoerp/pkg-deinstall
Martin Wilke ef1a2fc264 Openbravo ERP is a Web based ERP for SME, built on proven MVC & MDD framework
that facilitate its customization. Already in production, Openbravo ERP
encompasses a broad range of functionalities such as finance, supply chain,
manufacturing & much more.

WWW: http://www.openbravo.com/

PR:		ports/129175
Submitted by:	loader at freebsdmall.com
2009-01-14 12:48:36 +00:00

28 lines
406 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
PATH=/bin:/usr/bin
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
TMP_DIR="hsperfdata_root hsperfdata_www"
rm_dir () {
for dir in $@
do
if [ -d /tmp/${dir} ]; then
rm -fr /tmp/${dir}
fi
done
}
find /tmp -type f -name 'bitrock_installer*' | xargs rm -f
find /tmp -type f -name 'bitrock_debug*' | xargs rm -f
rm_dir ${TMP_DIR}
exit 0