chore: remove url testing and checking from download_windows_workstation()

This commit is contained in:
Martin Wimpress 2024-04-28 14:19:44 +01:00
parent 61442937a9
commit ecaab037ef
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3

View File

@ -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
echo " - Microsoft blocked the automated download request based on your IP address."
if [ "${just}" == 'show' ] || [ "${just}" == 'test' ]; then
exit 1
fi
failed=1
fi
@ -3240,14 +3237,6 @@ function download_windows_workstation() {
return 1
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"
# Download ISO