postinstall.sh revision a169901884ca9d134cbfad013f290fa234c37aed
# innotek VirtualBox
# VirtualBox postinstall script for Solaris.
#
# Copyright (C) 2007-2008 innotek GmbH
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
echo "Sun xVM VirtualBox - postinstall script"
if test "$currentzone" = "global"; then
echo "This script will setup and load the VirtualBox kernel module..."
# vboxdrv.sh would've been installed, we just need to call it.
fi
# create links
echo "Creating links..."
# Qt links
/usr/sbin/installf -c none $PKGINST /opt/VirtualBox/qtgcc/lib/libqt-mt.so=/opt/VirtualBox/qtgcc/lib/libqt-mt.so.3 s
/usr/sbin/installf -c none $PKGINST /opt/VirtualBox/qtgcc/lib/libqt-mt.so.3.3=/opt/VirtualBox/qtgcc/lib/libqt-mt.so.3 s
/usr/sbin/installf -c none $PKGINST /opt/VirtualBox/qtgcc/lib/libqt-mt.so.3.3.8=/opt/VirtualBox/qtgcc/lib/libqt-mt.so.3 s
fi
fi
fi
if test "$currentzone" = "global"; then
fi
echo "Done."
# return 20 = requires reboot, 2 = partial failure, 0 = success
exit 0