jesseduffield / jesseduffield/lazydocker

Running the update script in ~/.local/bin triggers error

Open
#721 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.