Check for wget added

This commit is contained in:
hemanth 2010-09-17 23:48:06 +08:00 committed by Raphael Sofaer
parent d66eedaf00
commit 1add029421

View file

@ -11,6 +11,9 @@ shopt -s extglob
sudo -v >/dev/null 2>&1 || { echo $(whoami) has no sudo privileges ; exit 1; }
# Check if wget is installed
test wget || echo "Installing wget.." && sudo apt-get install wget && echo "Installed wget.."
# Install build tools
echo "Installing build tools.."
sudo apt-get -y --no-install-recommends install build-essential libxslt1.1 libxslt1-dev libxml2