зеркало из https://github.com/mozilla/labs-vcap.git
[dev_setup] Install wget
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:
Родитель
9ca1a2b697
Коммит
c7682028a6
|
@ -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."
|
||||
|
|
Загрузка…
Ссылка в новой задаче