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:
- 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.
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:
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.