From 29c282953486d71f14158e879719dd4837063844 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 22 Feb 2022 18:42:12 +0000 Subject: [PATCH] Clean up variable assignment in get_windows() --- quickget | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/quickget b/quickget index 740a28e..33ba775 100755 --- a/quickget +++ b/quickget @@ -1768,7 +1768,7 @@ function get_windows() { local ARCH="x64" local INDEX=0 local LANG_CODE="en" - local LANG_EDITION="" + local LANG_EDITION="${1}" local LATEST_WINDOWS_VERSION="" local WINDOWS_NAME="" local VERSION_ID="" @@ -1780,8 +1780,6 @@ function get_windows() { local DOWNLOAD_ID="" local DOWNLOAD_URL="" - LANG_EDITION="${1}" - # Ignore the most recent Windows 10 release for now. case ${RELEASE} in 10) INDEX=0;;