mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
remove extracted lazydocker binary
The installation method used up until now would always leave one copy of the lazydocker binary in the extraction directory. This copy is not actually needed after installation, so it should be removed. TheAxelander also pointed this out in his comment at https://github.com/jesseduffield/lazydocker/issues/270#issuecomment-1042983635. This commit changes that behaviour and makes the install script cleanup after itself.
This commit is contained in:
parent
923c91121e
commit
54cfd08849
1 changed files with 1 additions and 1 deletions
|
|
@ -21,4 +21,4 @@ GITHUB_URL="https://github.com/jesseduffield/lazydocker/releases/download/${GITH
|
|||
curl -L -o lazydocker.tar.gz $GITHUB_URL
|
||||
tar xzvf lazydocker.tar.gz lazydocker
|
||||
install -Dm 755 lazydocker -t "$DIR"
|
||||
rm lazydocker.tar.gz
|
||||
rm lazydocker lazydocker.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue