#!/bin/ksh -p
#
# ident "@(#)bbinstfinish.src	1.7 05/02/17 SMI"
#
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

extcode=0

. $BBROOT/etc/opt/SUNWbb/blackbox.rc

# temporary hack until all pkgs install into libgen instead of lib
# (acroread,fvwm2,ghostscript)
if [ -f $BBAUTOINSTALL ]; then
    (
        cd $BBROOTPATH/usr/lib
        tar cf - * | (cd $BBROOTPATH/usr/libgen; tar xf - )
    )           
fi

exit $extcode

