#!/bin/bash

# Runme script to install the Netscape Fix 4.03
# This script installs the libraries into /usr/local/lib/nestscape,
# installs scripts to run Netscape and deletes the default plug-in.

echo "Netscape Fix Install Script"
echo "---------------------------"
echo ""
echo "WARNING!!  It is critical that you read the README file before"
echo "continuing.  Not doing so could result in disaster for your Netscape"
echo "setup.  Please read the README file before going any further."
echo ""
echo ""
echo "Do you want to continue? (y/n) "
read response
case "$response" in
        [yY]*)
                ;;
        *)
                echo Aborting
                exit 1
                ;;
esac
echo "Creating directories..."
mkdir /usr/local/lib/netscape
echo "Moving libraries..."
mv lib/* /usr/local/lib/netscape
rmdir lib
echo "Moving Communicator startup scripts..."
mv bin/* /usr/local/bin
rmdir bin
echo "Deleting Netscape's default plug-in..."
rm /usr/local/netscape/plugins/libnullplugin.so
