fix: prevent daily-live images being downloaded during test
This commit is contained in:
parent
50817d2dba
commit
c693dc9ba7
6
quickget
6
quickget
|
@ -1298,12 +1298,12 @@ function zsync_get() {
|
||||||
if [ "${OPERATION}" == "show" ]; then
|
if [ "${OPERATION}" == "show" ]; then
|
||||||
echo "${URL}"
|
echo "${URL}"
|
||||||
exit 0
|
exit 0
|
||||||
elif [ "${OPERATION}" == "check" ]; then
|
elif [ "${OPERATION}" == "test" ]; then
|
||||||
if ! web_check "${URL}"; then
|
if ! web_check "${URL}"; then
|
||||||
check_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "FAIL"
|
test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "FAIL"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
check_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "PASS"
|
test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "PASS"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
elif command -v zsync &>/dev/null; then
|
elif command -v zsync &>/dev/null; then
|
||||||
|
|
Loading…
Reference in New Issue