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.
pull/355/head
Jörg Sachse 2 years ago committed by GitHub
parent 923c91121e
commit 54cfd08849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save