service.libreelec.settings
service.libreelec.settings copied to clipboard
updates.py: use update-system script if available
This changes the automatic check for updates to use /usr/bin/update-system
if it's present. If not, then it falls back to asking the server for update information (current practice). update-system
's output to include the checksum of the file intended to be downloaded. The addon doesn't do anything with it yet.
The other minor bits are some cleanups inside the function.
Needs https://github.com/LibreELEC/LibreELEC.tv/pull/7540 to see new behaviour.
Replaces #276.