aboutsummaryrefslogtreecommitdiff
path: root/www/openbravoerp/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'www/openbravoerp/pkg-install')
-rw-r--r--www/openbravoerp/pkg-install40
1 files changed, 40 insertions, 0 deletions
diff --git a/www/openbravoerp/pkg-install b/www/openbravoerp/pkg-install
new file mode 100644
index 000000000000..cd4619eba71a
--- /dev/null
+++ b/www/openbravoerp/pkg-install
@@ -0,0 +1,40 @@
+#!/bin/sh
+# $FreeBSD$
+
+PATH=/bin:/usr/bin:/usr/sbin
+
+dbwarning() { echo "
+
+ ===============================================
+ Openbravo ERP requires a superuser \"postgres\",
+ please issue following command to create it:
+
+ # createuser -s -W postgres
+
+ This is not done by the port. And use
+ \"/usr/local/tomcat5.5\" as the Tomcat
+ directory when you are prompted to enter
+ the location.
+
+ Press Ctrl-C now if you need to create it.
+ ===============================================
+"
+ sleep 5
+}
+
+case $2 in
+PRE-INSTALL)
+ dbwarning
+ ;;
+
+POST-INSTALL)
+ if [ -f ${PKG_PREFIX}/OpenbravoERP2.40/uninstaller_standard ]; then
+ rm -f ${PKG_PREFIX}/OpenbravoERP2.40/uninstaller_standard
+ fi
+ ;;
+
+DBWARNING)
+ dbwarning
+ ;;
+esac
+