Wget is not included in `ubuntu-minimal'. Installing wget before
proceeding enables us to run dev_setup in a debootstrap chroot / jail.

Change-Id: Iff012208f58f9946c64ce27448294af42e558a57
This commit is contained in:
Jesse Zhang 2012-04-09 17:07:57 -07:00
Родитель 9ca1a2b697
Коммит c7682028a6
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -85,6 +85,12 @@ function run_cmd () {
}
# Check if we have access to the web
run_cmd apt-get $APT_CONFIG install -qym wget
if [ $? -ne 0]; then
echo "Can't install prerequisite: wget"
exit 1
fi
which wget > /dev/null
if [ $? -eq 0 ]; then
echo "Checking web connectivity."