From 67d50d65ab34a15168725789ac751a885e1bbfb3 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sat, 23 Jul 2022 13:13:27 +0200 Subject: [PATCH] CI: Change arch command to uname in install-go.sh script Signed-off-by: Michael Mayer --- scripts/dist/install-go.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dist/install-go.sh b/scripts/dist/install-go.sh index 83d2f16d1..3c1ee2fe1 100755 --- a/scripts/dist/install-go.sh +++ b/scripts/dist/install-go.sh @@ -15,9 +15,9 @@ echo "Installing Go in \"$DESTDIR\"..." set -e -if command -v arch &> /dev/null +if command -v uname &> /dev/null then - SYSTEM_ARCH=$(arch) + SYSTEM_ARCH=$(uname -m) elif [[ $PHOTOPRISM_ARCH ]]; then SYSTEM_ARCH=$PHOTOPRISM_ARCH else