#!/bin/bash #Don't Use This Script As It's Outdated Most Likely Apr 11, 2005
#!/bin/bash #Don't Use This Script As It's Outdated Most Likely Apr 11, 2005
/bin/bash
#Don't use this script as it's outdated most likely Apr 11, 2005
#You can get latest from http://mrbass.org/linux/ubuntu
clear
echo "The Unofficial ubuntuguide .org Quick Install Script"
echo "Allows you to quickily install those apps/plug-ins you choose."
echo ""
echo "Thanks to hard work of Chua Wen Kiat http://ubuntuguide .org and Ubuntu forum members"
echo "License GPL http://www.gnu.org/licenses/gpl.html"
echo "Last updated Apr 11, 2005 for Unbuntu 5.04 by mrbass http://mrbass.org"
echo ""
echo "Press Y/y [default] or ENTER to install app/plug-in"
echo "Press N/n or any key to skip installation of app/plug-in"
echo "Press Q/q to quit or ctrl-c to quit download"
echo ""
echo "Insert your Ubuntu CD or DVD now and make sure you have an active internet connection"
echo "Also this assumes you've added extra repositories "
echo ""
echo "Do not use this script if you don't trust the source of where you got it"
echo "Enter your password (skipped if previously entered)"
sudo echo ""
echo "You don't need to manually add if you chose 'Automatically ' above (skip this)"
read -p "View ubuntuguide .org 'How to add extra repositories ' in browser now? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo -H /usr/bin/firefox "http://ubuntuguide .org/#extrarepositories "
else
echo "Skipped"
fi
read -p "Install J2SE Runtime Environment (JRE) Plug-in for Mozilla Firefox? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji .so /usr/lib/mozilla/plugins/
sudo ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji .so /usr/lib/mozilla-firefox/plugins/
else
echo "Skipped"
fi
read -p "Install Flash Player (Macromedia Flash) Plug-in for Mozilla Firefox? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install flashplayer -mozilla
else
echo "Skipped"
fi
read -p "Install PDF Reader (Adobe Reader) Plug-in for Mozilla Firefox? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install acroread-plugins
else
echo "Skipped"
fi
read -p "Install Apache HTTP Server for HTTP (Web) Server service? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install apache2
else
echo "Skipped"
fi
read -p "Install numlockx to turn on Num Lock when login into GNOME? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install numlockx
else
echo "Skipped"
fi
echo ""
echo ""
echo "See ubuntuguide .org how to add menu items if you installed any of the following apps:"
echo "Azureus, Limewire, LinPopUp, RSSOwl, NVU, Nvidia-Settings, RP-PPPoE, MySQL Control Center"
read -p "View ubuntuguide .org in browser now? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo -H /usr/bin/firefox "http://ubuntuguide .org"
else
echo "Skipped"
fi
echo ""
echo ""
echo "Done...thanks for using the Unofficial unbuntuguide .org Quick Install Script"
echo ""
exit 0