Use same installer for upgrading these
Since there's no auto-updating otherwise
This commit is contained in:
parent
3db5859c48
commit
522b144db6
@ -1,4 +1,3 @@
|
||||
if ! command -v lazydocker &>/dev/null; then
|
||||
cd ~/Downloads
|
||||
LAZYDOCKER_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazydocker/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
|
||||
curl -sLo lazydocker.tar.gz "https://github.com/jesseduffield/lazydocker/releases/latest/download/lazydocker_${LAZYDOCKER_VERSION}_Linux_x86_64.tar.gz"
|
||||
@ -6,4 +5,3 @@ if ! command -v lazydocker &>/dev/null; then
|
||||
sudo install lazydocker /usr/local/bin
|
||||
rm lazydocker.tar.gz
|
||||
cd -
|
||||
fi
|
||||
|
@ -1,4 +1,3 @@
|
||||
if ! command -v lazygit &>/dev/null; then
|
||||
cd ~/Downloads
|
||||
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
|
||||
curl -sLo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
|
||||
@ -6,4 +5,3 @@ if ! command -v lazygit &>/dev/null; then
|
||||
sudo install lazygit /usr/local/bin
|
||||
rm lazygit.tar.gz
|
||||
cd -
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user