Skip to content

Commit 1cca87a

Browse files
committed
Make Debian/Ubuntu install command architecture-independent
1 parent 2f6d202 commit 1cca87a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,8 @@ For **Debian 12 "Bookworm", Ubuntu 25.04 "Plucky Puffin"** and earlier:
356356

357357
```sh
358358
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": *"v\K[^"]*')
359-
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
359+
LAZYGIT_ARCH=$(uname -m | sed -e 's/aarch64/arm64/')
360+
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_${LAZYGIT_ARCH}.tar.gz"
360361
tar xf lazygit.tar.gz lazygit
361362
sudo install lazygit -D -t /usr/local/bin/
362363
```

0 commit comments

Comments
 (0)