#!/bin/sh

# $FreeBSD: branches/RELEASE_8_4_0/databases/jasperserver/pkg-install 300896 2012-07-14 13:54:48Z beat $

BATCH=${BATCH:=no}

if [ "$2" = "PRE-INSTALL" ]; then
cat << _EOF
==============  W A R N I N G   I M P O R T A N T   N O T E  =================

To upgrade, it is recommended to refer to the Installation Guide found here:
http://jasperforge.org/projects/jasperserver/downloads

==============  W A R N I N G   I M P O R T A N T   N O T E  =================

_EOF
    if [ -z "${PACKAGE_BUILDING}" -a "${BATCH}" = "no" ]; then
        read -p "Hit ^c now to stop, any key to continue: " -t 20 a || true
        echo
        echo
    fi
fi
