jesseduffield / jesseduffield/lazydocker
Running the update script in ~/.local/bin triggers error
Open
bug
- Dominant language
- Go
- Stars
- 52.8k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When you run `curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash` while inside `~/.local/bin`, the script throws `install: 'lazydocker' and '/home/mathijs/.local/bin/lazydocker' are the same file`
**To Reproduce**
Steps to reproduce the behavior:
1. cd ~/.local/bin
2. `curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash`
**Expected behaviour**
It should install regardless of where you are
**Desktop (please complete the following information):**
- OS: Linux (Debian Trixie)
Contributor guide
Assessment
This issue has not been assessed yet.