#!/bin/sh

# This script will uninstall Firefox 3.0.5 that was installed using the
# firefox_install.sh script
# This script must be run as root with 755 permission
#
# Authored by Bob Nelson  admin@stchman.com
#

script_name="firefox_uninstall.sh"

# Script must run as root 
if [ $USER != "root" ]; then
	echo "You need to run this script as root."
	echo "Use 'sudo ./$script_name' then enter your password when prompted."
	exit 1
fi

# Remove the Firefox binaries
sudo rm -r -f /opt/firefox

# Remove the menu entry
sudo rm -f /usr/share/applications/firefox.desktop

# Remove the shortcut from the /usr/bin folder
sudo rm -f /usr/bin/firefox

# This install does not remove the mail, contacts, or filters from your profile


