From 7e8b774f3f1861af761c0a7aafdb184ed2346da3 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sun, 30 Jun 2024 15:33:10 +0100 Subject: [PATCH] refactor: add quoting to tpm condition for window 11 --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 8f4846b129..b53a42d790 100755 --- a/quickget +++ b/quickget @@ -1532,7 +1532,7 @@ EOF fi # Enable TPM for Windows 11 - if [ "${OS}" == "windows" ] && [ "${RELEASE}" == 11 ] || [ "${OS}" == "windows-server" ] && [ "${RELEASE}" == "2022" ]; then + if [ "${OS}" == "windows" ] && [ "${RELEASE}" == "11" ] || [ "${OS}" == "windows-server" ] && [ "${RELEASE}" == "2022" ]; then echo "tpm=\"on\"" >> "${CONF_FILE}" echo "secureboot=\"off\"" >> "${CONF_FILE}" fi