Skip to content

Commit

Permalink
Cuter check on the architecture conditional for launcher
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Sawicz <[email protected]>
  • Loading branch information
mattkae and Saviq authored Jul 16, 2024
1 parent 5595548 commit ebdb4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/hooks/configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebdb4b1

Please sign in to comment.