#!/bin/sh
#
# Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved
#

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
