#
# Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved
#
# $Id: postinstall,v 1.2 2007/04/10 19:51:54 pschow Exp $

RELOCATE=
if [ "$PKG_INSTALL_ROOT" != "" ]
then
    RELOCATE="-R $PKG_INSTALL_ROOT"
fi

# Get the basedir for the package.
#
PBASEDIR=`pkgparam $RELOCATE $PKGINST BASEDIR`
if [ "$PBASEDIR" = "" ]
then
    exit 1
fi

exit 0
