Skip to content

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

@mfutselaar

Description

@mfutselaar

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions