File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -183,20 +183,20 @@ while true; do
183
183
elif [ -x " /usr/bin/fetch" ]; then
184
184
download=" /usr/bin/fetch"
185
185
break
186
- elif [ " $curl_attempted " = 1 ]; then
187
- printf " ${RED} No HTTP client available. Could not install curl . Cannot continue.${NORMAL} \\ n"
186
+ elif [ " $wget_attempted " = 1 ]; then
187
+ printf " ${RED} No HTTP client available. Could not install wget . Cannot continue.${NORMAL} \\ n"
188
188
exit 1
189
189
fi
190
190
191
191
# Made it here without finding a downloader, so try to install one
192
- curl_attempted =1
192
+ wget_attempted =1
193
193
if [ -x /usr/bin/dnf ]; then
194
- dnf -y install curl >> $log
194
+ dnf -y install wget >> $log
195
195
elif [ -x /usr/bin/yum ]; then
196
- yum -y install curl >> $log
196
+ yum -y install wget >> $log
197
197
elif [ -x /usr/bin/apt-get ]; then
198
198
apt-get update >> /dev/null
199
- apt-get -y -q install curl >> $log
199
+ apt-get -y -q install wget >> $log
200
200
fi
201
201
done
202
202
if [ -z " $download " ]; then
You can’t perform that action at this time.
0 commit comments