From b2665aa37ecf18d6f900aaae3d6b8cf28c3ba5ad Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 10 Sep 2020 10:07:13 +0200 Subject: [PATCH] full match --- installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index 1862816..7ac7fdb 100644 --- a/installer.sh +++ b/installer.sh @@ -137,7 +137,7 @@ case $ARCH in ;; esac -if [[ ! "${MACHINE}" =~ (intel-nuc|odroid-c2|odroid-n2|odroid-xu|qemuarm|qemuarm-64|qemux86|qemux86-64|raspberrypi|raspberrypi2|raspberrypi3|raspberrypi4|raspberrypi3-64|raspberrypi4-64|tinker) ]]; then +if [[ ! "${MACHINE}" =~ ^(intel-nuc|odroid-c2|odroid-n2|odroid-xu|qemuarm|qemuarm-64|qemux86|qemux86-64|raspberrypi|raspberrypi2|raspberrypi3|raspberrypi4|raspberrypi3-64|raspberrypi4-64|tinker)$ ]]; then error "Unknown machine type ${MACHINE}!" fi