CI: Change arch command to uname in install-go.sh script
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
6bb0f8c593
commit
67d50d65ab
1 changed files with 2 additions and 2 deletions
4
scripts/dist/install-go.sh
vendored
4
scripts/dist/install-go.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue