From b7e6caf293665392a479fd2ba6e2888ed83f48e6 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 24 May 2024 12:40:02 +0200 Subject: [PATCH] Update mido.sh --- src/mido.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mido.sh b/src/mido.sh index a4d33c0..461e3dc 100644 --- a/src/mido.sh +++ b/src/mido.sh @@ -231,12 +231,12 @@ download_windows_eval() { [[ "$DEBUG" == [Yy1]* ]] && echo "Getting download link.." if [[ "$enterprise_type" == "iot" ]]; then - filter="https://go.microsoft.com/fwlink/?LinkID=[0-9]\+&clcid=0x[0-9a-z]\+&culture=${culture,,}&country=${country^^}" + filter="https://go.microsoft.com/fwlink/?linkid=[0-9]\+&clcid=0x[0-9a-z]\+&culture=${culture,,}&country=${country^^}" else filter="https://go.microsoft.com/fwlink/p/?LinkID=[0-9]\+&clcid=0x[0-9a-z]\+&culture=${culture,,}&country=${country^^}" fi - iso_download_links="$(echo "$iso_download_page_html" | grep -o "$filter")" || { + iso_download_links="$(echo "$iso_download_page_html" | grep -io "$filter")" || { # This should only happen if there's been some change to the download endpoint web address if [[ "${lang,,}" == "en" ]] || [[ "${lang,,}" == "en-"* ]]; then error "Windows server download page gave us no download link!"