mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-15 01:34:26 +02:00
Fix installation for Ubuntu in README.md
If '/usr/local/bin' does not exist, 'install' will eventually result in a regular file named '/usr/local/bin' being created.
This commit is contained in:
@ -309,7 +309,7 @@ sudo eopkg install lazygit
|
|||||||
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
|
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
|
||||||
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
|
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
|
||||||
tar xf lazygit.tar.gz lazygit
|
tar xf lazygit.tar.gz lazygit
|
||||||
sudo install lazygit /usr/local/bin
|
sudo install lazygit -D -t /usr/local/bin/
|
||||||
```
|
```
|
||||||
|
|
||||||
Verify the correct installation of lazygit:
|
Verify the correct installation of lazygit:
|
||||||
|
Reference in New Issue
Block a user