#!/bin/sh

#####################################################################################################

#If we aren't running from the cmd-line,
if [ "$COMMAND_LINE_INSTALL" ] ; then

        echo
        echo "********************************************************************************"
        echo "To complete the installation, run the firmware updater tool by typing:"
        echo
        echo "  /Applications/Utilities/Power\ Mac\ G5\ Firmware\ Updater.app/Contents/MacOS/Power\ Mac\ G5\ Firmware\ Updater -r"
        echo
        echo "And follow the remaining instructions."
        echo "********************************************************************************"
        echo

else

	#Add the LoginWindow Launch Info
	"$1/Contents/Resources/AddLoginWindowItem.pl" "$1" "$2" "$3"

	#Start the Lurk n' Launch
        /usr/bin/perl "$1/Contents/Resources/CreateLaunchScript.pl" "$1" "$2" "$3"

fi

#####################################################################################################

exit 0
