diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-01-14 12:48:36 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-01-14 12:48:36 +0000 |
commit | ef1a2fc264bd615a769eedab123a5c6a98804671 (patch) | |
tree | 4288fc1cf9c41bd9def136b7922c4cb9cd35db1b /www/openbravoerp/pkg-install | |
parent | 2696b8599db2fe9da76f2f8b3aac71e1a62e9a8c (diff) | |
download | ports-ef1a2fc264bd615a769eedab123a5c6a98804671.tar.gz ports-ef1a2fc264bd615a769eedab123a5c6a98804671.zip |
Notes
Diffstat (limited to 'www/openbravoerp/pkg-install')
-rw-r--r-- | www/openbravoerp/pkg-install | 40 |
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 + |