Skip to content

[Addon] Download / Install script #64

@r0bb10

Description

@r0bb10

https://gist.github.com/r0bb10/17069643f0d5be9408f69355e9b9f9cf

Hi, i just wanted to share a simple script that could maybe come in handy to some users to install pbs. I made using my poor skills and ai help, works great on my setup (arm remote vps).

It just downloads the latest (or any specified) release from github automagically (all the required debs) and installs them without the need to manually get them, i've implemented what i actually need but can be augumented. It currently:

  • checks what version is installed and the latest version released here
  • installs the latest version by default, can overwrite, and can also be forced to install a specific one
  • make it non interactive and silent to be cron friendly
  • it would be very possibile to make also an automation to check the latest release and if needed autoupgrade

Dunno if anyone else would use this, maybe can be added an autocheck what os-release is running and install the latest accordingly, or maybe also add a -s | -c to install the server or the client respectively.. i wanted to implement the sha256 verification on download but did not manage to make it work so thats it.

Personally i find it more usefull than a apt install but thats imho. Enjoy :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions