diff --git a/install/install.sh b/install/install.sh index 3cef5696..7f0b9442 100644 --- a/install/install.sh +++ b/install/install.sh @@ -323,9 +323,8 @@ function fastest_url() { for url in "${urls[@]}"; do if curl --output /dev/null --silent --head --fail "$url"; then - echo $url" is available" + data="url is available" else - echo $url" is not available" continue fi time=$(curl --connect-timeout 3 -s -w '%{time_total}\n' -o /dev/null $url) diff --git a/install/update.sh b/install/update.sh index 13411e0f..c62a4cf9 100644 --- a/install/update.sh +++ b/install/update.sh @@ -78,9 +78,8 @@ function fastest_url() { for url in "${urls[@]}"; do if curl --output /dev/null --silent --head --fail "$url"; then - echo $url" is available" + data="url is available" else - echo $url" is not available" continue fi time=$(curl --connect-timeout 3 -s -w '%{time_total}\n' -o /dev/null $url)