Skip to content

[Bug]: /usr/bin/garden self-update removes /usr/bin #8072

@mmx86

Description

@mmx86

On archlinux there is a package which installs garden in /usr/bin

❯ pacman -Ql garden-devops-bin
garden-devops-bin /usr/
garden-devops-bin /usr/bin/
garden-devops-bin /usr/bin/garden
garden-devops-bin /usr/src/
garden-devops-bin /usr/src/debug/
garden-devops-bin /usr/src/debug/garden-devops-bin/

Which is 0.13.41 at the moment (not the latest major version).
Running sudo garden self-update --major removes everything from /usr/bin/*.

I think that shouldn't happen even with manual intervention in package manager upgrade process. Or at least there should be a warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions