Fix wrong apt-get -y option in install script

Change-Id: I4123212feaa20ae2baf880381f6375c416cec05b
Closes-Bug: 1455463
This commit is contained in:
Sergey Skripnick 2015-05-15 14:55:14 +03:00
parent 6699ffde38
commit 74c189418c

View File

@ -257,7 +257,7 @@ which_missing_packages () {
# TODO: move this logic into install_required_sw # TODO: move this logic into install_required_sw
if ! have_command wget && ! have_command curl; then if ! have_command wget && ! have_command curl; then
if ask_yn "You need ether wget or curl to be installed. Install wget?"; then if ask_yn "You need ether wget or curl to be installed. Install wget?"; then
apt-get install -yes wget || yum install -y wget apt-get install --yes wget || yum install -y wget
fi fi
fi fi