mschlenstedt / Loxberry

Current stable Branch is: *** Please see Releases *** Current developer Branch is: *** master ***
Apache License 2.0
77 stars 27 forks source link

Include "Update Precheck scripts" before LBUpdate do anything #1373

Closed mschlenstedt closed 1 year ago

mschlenstedt commented 1 year ago

If exists, call the latest/newest available precheck script before LBUpdate runs rsync. If exit 0, then continue. Anything else will stop the update.

Give options/parameters to the script as the "real" update scripts:


#       release: the final version update is going to (not the version of the script)
#   logfilename: The filename of LoxBerry::Log where the script can append
#   updatedir: The directory where the update resides
#   cron: If 1, the update was triggered automatically by cron```
mschlenstedt commented 1 year ago

Fixed in ba2f3fbbfc003983cf4384762550d489c0ad9e2e