Cannot install on Debian 5.10.197-1 via curl .sh
vargash opened this issue · 2 comments
Describe the bug
I'm trying to install the latest version using the curl method, but the operation seems to not work.
I get no error, but the binary seems like it's not downloaded.
To Reproduce
Steps to reproduce the behavior:
- Connect to server with a normal user (not SU)
- Execute
curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
- See error.
Expected behaviour
lazydocker is installed in ~/.local/bin
Desktop (please complete the following information):
- OS: Debian 5.10.197-1
- Lazydocker Version 0.23.1
Is the ~/.local/bin
in your PATH
?
If you comment out the three last lines in the install_update_linux.sh
, i.e.
# install/update the local binary
curl -L -o lazydocker.tar.gz $GITHUB_URL
# tar xzvf lazydocker.tar.gz lazydocker
# install -Dm 755 lazydocker -t "$DIR"
# rm lazydocker lazydocker.tar.gz
Does it download the lazydocker.tar.gz
in the current directory?
Yep it does.
It looks like some permission problems with the default installation folder of the script, I reconfigured the user permission and all went well.
Probably some more verbose logging in the scripts could be useful in this cases, though.