laberning / openrowingmonitor

A free and open source performance monitor for rowing machines
https://laberning.github.io/openrowingmonitor
GNU General Public License v3.0
110 stars 20 forks source link

updateopenrowingmonitor.sh picks master (not main) as its default branch #52

Closed icheered closed 2 years ago

icheered commented 2 years ago

Running the update script updateopenrowingmonitor.sh must be run as updateopenrowingmonitor.sh -b main otherwise it will try to pull updates from branch master which doesn't exist in this repo.

This may be an issue that comes from the default git installation on a new raspberry pi zero 2w but I'm not 100% sure since I did update all packages.

laberning commented 2 years ago

Ah, the old times where the main branches were named master are striking back :-) I guess we introduced a bug here while adding the (not yet documented) branch selection feature.

Yes, doing updateopenrowingmonitor -b main once should be a good temporary fix for this. Afterwards it should be sufficient to use updateopenrowingmonitor.

Thanks for reporting this, I'll add a fix to the script soon.

laberning commented 2 years ago

It should work now. The problem was in the installer script, so the fix requires a fresh install. Otherwise just run updateopenrowingmonitor -b main once to get the updater to work as expected.