mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-10 08:55:27 +02:00
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
|
||||
echo "${URL}"
|
||||
exit 0
|
||||
elif [ "${OPERATION}" == "check" ]; then
|
||||
elif [ "${OPERATION}" == "test" ]; then
|
||||
if ! web_check "${URL}"; then
|
||||
check_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "FAIL"
|
||||
test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "FAIL"
|
||||
exit 0
|
||||
else
|
||||
check_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "PASS"
|
||||
test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "PASS"
|
||||
exit 0
|
||||
fi
|
||||
elif command -v zsync &>/dev/null; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user