Skip to content

Commit 7078034

Browse files
authored
fix(soar): Architecture detection for soar installation
1 parent e67746f commit 7078034

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

modules/soar/soar.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ set -euo pipefail
66
echo "Downloading & installing 'soar' package manager"
77
REPO="pkgforge/soar"
88
LATEST_VER="$(basename $(curl -fLsS --retry 5 -o /dev/null -w '%{url_effective}' https://github.com/${REPO}/releases/latest))"
9-
# Assuming that ARM64 custom images will be built from ARM64 runners for this working detection
10-
ARCH="$(uname -m)"
11-
curl -fLsS --retry 5 --create-dirs "https://github.com/${REPO}/releases/download/${LATEST_VER}/soar-${ARCH}-linux" -o "/usr/bin/soar"
9+
curl -fLsS --retry 5 --create-dirs "https://github.com/${REPO}/releases/download/${LATEST_VER}/soar-${OS_ARCH}-linux" -o "/usr/bin/soar"
1210
chmod +x "/usr/bin/soar"
1311

1412
# Configuration values for package auto-upgrades (using upgrade term here from brew)

0 commit comments

Comments
 (0)