Skip to content

Install.sh just pulls binary on some distros #4683

Description

@neliets

Describe the problem
While testing Netbird on OpenSUSE, I noticed that install.sh script does not infact add repo and install it properly (or just use OpenSUSE provided package, but rather downloads the binary and runs it. This is kind of crazy to have script written like this. Any other way would be better.

To Reproduce

Steps to reproduce the behavior:

  1. Run install.sh script on system without apt, yum or dnf

Expected behavior

First, script should check OS, based on that, check with package manager if a package is available from repositories directly, if not - add your own repo and install it. There is an argument for immediately just adding a your repo and installing from there. If you are not willing to support certain OS, then the script should fail or give a choice to just download binary mentioning that updates will have to be done manually by downloading a new binary.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions