Fix wrong apt-get -y option in install script
Change-Id: I4123212feaa20ae2baf880381f6375c416cec05b Closes-Bug: 1455463
This commit is contained in:
parent
6699ffde38
commit
74c189418c
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user