refactor: make test output in web_get() consistent with other tests
This commit is contained in:
parent
03ac799287
commit
43df80636d
4
quickget
4
quickget
|
@ -1270,8 +1270,8 @@ function web_get() {
|
||||||
echo "${URL}"
|
echo "${URL}"
|
||||||
exit 0
|
exit 0
|
||||||
elif [ "${just}" == 'test' ]; then
|
elif [ "${just}" == 'test' ]; then
|
||||||
echo -n "Testing if $(echo "${URL}" | rev | cut -d'/' -f1 | rev) is available... "
|
GOOD=$(web_check "${URL}" && echo 'PASS' || echo 'FAIL')
|
||||||
web_check "${URL}" && echo 'PASS' || echo 'FAIL'
|
echo -e "${GOOD}:\t${OS}\t${RELEASE}\t${EDITION}\t${URL}"
|
||||||
exit 0
|
exit 0
|
||||||
elif [ "${just}" == 'download' ]; then
|
elif [ "${just}" == 'download' ]; then
|
||||||
DIR="$(pwd)"
|
DIR="$(pwd)"
|
||||||
|
|
Loading…
Reference in New Issue