From 1e8b8471cabd6e83c841e8caa2c8b984882ce029 Mon Sep 17 00:00:00 2001 From: Shaobo Song Date: Sun, 3 Nov 2024 21:04:43 +0800 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 890d2c7c7..44d3808e9 100644 --- a/README.md +++ b/README.md @@ -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[^"]*') 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 -sudo install lazygit /usr/local/bin +sudo install lazygit -D -t /usr/local/bin/ ``` Verify the correct installation of lazygit: