chore: remove url testing and checking from download_windows_workstation()
This commit is contained in:
parent
f994691dad
commit
11dfed7288
11
quickget
11
quickget
|
@ -3215,9 +3215,6 @@ function download_windows_workstation() {
|
||||||
|
|
||||||
if echo "$iso_download_link_html" | grep -q "We are unable to complete your request at this time."; then
|
if echo "$iso_download_link_html" | grep -q "We are unable to complete your request at this time."; then
|
||||||
echo " - Microsoft blocked the automated download request based on your IP address."
|
echo " - Microsoft blocked the automated download request based on your IP address."
|
||||||
if [ "${just}" == 'show' ] || [ "${just}" == 'test' ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
failed=1
|
failed=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -3240,14 +3237,6 @@ function download_windows_workstation() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${just}" == 'show' ]; then
|
|
||||||
echo -e " Windows ${RELEASE} Download (valid for 24 hours):\n${iso_download_link}"
|
|
||||||
exit 0
|
|
||||||
elif [ "${just}" == 'test' ]; then
|
|
||||||
web_check "${iso_download_link}"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Downloading Windows ${RELEASE} (${LANG}): $iso_download_link"
|
echo "Downloading Windows ${RELEASE} (${LANG}): $iso_download_link"
|
||||||
|
|
||||||
# Download ISO
|
# Download ISO
|
||||||
|
|
Loading…
Reference in New Issue