fix: Syntax error in conditional statement

This commit is contained in:
Kroese 2025-09-22 08:21:42 +02:00 committed by GitHub
parent d4171ecfda
commit a038af89b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -403,7 +403,7 @@ getCatalog() {
local edition=""
local file="catalog.cab"
if [[ "${id,,}" == "win11"* && "${PLATFORM,,}" != "x64" && "${ARCH,,}" == "arm64" ]];
if [[ "${id,,}" == "win11"* && "${PLATFORM,,}" != "x64" && "${ARCH,,}" == "arm64" ]]; then
# ARMv8.0 cannot run Windows 11 builds higher than 22631
if ! grep -qw 'Features.*atomics' /proc/cpuinfo; then
echo $(getBuild "$1" "$2" "22631.2861") && return 0