CI: Change arch command to uname in install-go.sh script

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2022-07-23 13:13:27 +02:00
parent 6bb0f8c593
commit 67d50d65ab

View file

@ -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