Skip to content

Commit

Permalink
refactor: add quoting to tpm condition for window 11
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Jun 30, 2024
1 parent e18b7ed commit 7e8b774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickget
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e8b774

Please sign in to comment.