Skip to content

Commit 31630ea

Browse files
committed
Fix install.sh OS/arch casing to match GoReleaser output
1 parent 4f8186c commit 31630ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ INSTALL_DIR="${INSTALL_DIR:-/usr/local/bin}"
77
# Detect OS
88
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
99
case "$OS" in
10-
linux) OS="Linux" ;;
11-
darwin) OS="Darwin" ;;
10+
linux) ;;
11+
darwin) ;;
1212
*) echo "Unsupported OS: $OS"; exit 1 ;;
1313
esac
1414

1515
# Detect architecture
1616
ARCH=$(uname -m)
1717
case "$ARCH" in
18-
x86_64|amd64) ARCH="x86_64" ;;
18+
x86_64|amd64) ARCH="amd64" ;;
1919
arm64|aarch64) ARCH="arm64" ;;
2020
*) echo "Unsupported architecture: $ARCH"; exit 1 ;;
2121
esac

0 commit comments

Comments
 (0)