File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -486,14 +486,14 @@ downloadAndInstall(){
486486 # Set options based on wget version
487487 WGET_OPTS=$( configure_wget_options)
488488
489- wget $WGET_OPTS " $TMP_DIR /phoenix-code.tar.gz" " $BEST_MATCH_URL " 2> /dev/null || {
489+ wget $WGET_OPTS " $TMP_DIR /phoenix-code.tar.gz" " $BEST_MATCH_URL " || {
490490 echo -e " ${RED} Failed to download the binary. Please check your internet connection and try again.${RESET} "
491491 exit 1
492492 }
493493
494494 # Download the icon
495495 echo -e " Downloading the icon..."
496- wget $WGET_OPTS " $TMP_DIR /icon.png" " $ICON_URL " 2> /dev/null || {
496+ wget $WGET_OPTS " $TMP_DIR /icon.png" " $ICON_URL " || {
497497 echo -e " ${RED} Failed to download the icon${RESET} "
498498 exit 1
499499 }
@@ -515,7 +515,7 @@ configure_wget_options() {
515515 local major_version=$( echo " $wget_version " | cut -d. -f1)
516516
517517 if [[ " $major_version " -ge 2 ]]; then
518- echo " -c -N - -tries=10 --timeout=30 --waitretry=5 --progress=bar --retry-connrefused -O"
518+ echo " -c --tries=10 --timeout=30 --waitretry=5 --progress=bar --retry-connrefused -O"
519519 else
520520 echo " -c -N --tries=10 --timeout=30 --waitretry=5 --retry-connrefused --show-progress -qO"
521521 fi
You can’t perform that action at this time.
0 commit comments