Skip to content

Commit 062a9b2

Browse files
committed
fix: correct architecture naming in v1 install script
Changes x86_64 architecture detection from 'amd64' to 'x86_64' to match actual Flipt release file naming convention. Release files use flipt_{os}_x86_64.tar.gz format, not flipt_{os}_amd64.tar.gz. Fixes download URL generation that was causing 404 errors when installing on x86_64 systems.
1 parent 7221cc9 commit 062a9b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ uname_os() {
6262
uname_arch() {
6363
arch=$(uname -m)
6464
case $arch in
65-
x86_64) arch="amd64" ;;
66-
x64) arch="amd64" ;;
65+
x86_64) arch="x86_64" ;;
66+
x64) arch="x86_64" ;;
6767
i686) arch="386" ;;
6868
i386) arch="386" ;;
6969
aarch64) arch="arm64" ;;
@@ -91,7 +91,7 @@ uname_os_check() {
9191
uname_arch_check() {
9292
arch=$(uname_arch)
9393
case "$arch" in
94-
amd64) return 0 ;;
94+
x86_64) return 0 ;;
9595
arm64) return 0 ;;
9696
esac
9797
log_error "Architecture $arch is not supported"

0 commit comments

Comments
 (0)