Update mido.sh

This commit is contained in:
Kroese 2024-05-18 01:51:18 +02:00 committed by GitHub
parent b949135463
commit c3c5aecc40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -150,12 +150,7 @@ download_windows() {
if ! [ "$iso_download_link" ]; then if ! [ "$iso_download_link" ]; then
# This should only happen if there's been some change to the download endpoint web address # This should only happen if there's been some change to the download endpoint web address
if [[ "${lang,,}" == "en" ]] || [[ "${lang,,}" == "en-"* ]]; then error "Microsoft servers gave us no download link to our request for an automated download!"
error "Microsoft servers gave us no download link to our request for an automated download!"
else
language=$(getLanguage "$lang" "desc")
error "No download for the $language language available!"
fi
return 1 return 1
fi fi