diff --git a/snap/hooks/configure b/snap/hooks/configure index 9e120f6..54df4e9 100755 --- a/snap/hooks/configure +++ b/snap/hooks/configure @@ -114,7 +114,7 @@ fi # Start or stop the launcher if [ "$(snapctl get launcher)" = "true" ]; then ARCH=$(uname -m) - if [[ "$ARCH" != x86_64* ]] && [[ "$ARCH" != i*86 ]] && [[ "$ARCH" != arm64 ]]; then + if [[ "$ARCH" != @(x86_64*|i*86|arm64) ]]; then echo "Cannot enable the launcher on $ARCH system" exit 1 fi