💾 Archived View for uhc.driar.se › help › uhccheck captured on 2022-07-16 at 13:31:42.

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

uhccheck - Compares installed revision of UHCTools to remote revision

Usage: uhccheck

This script simply sets the ENV-variable UHCNEW to 1 if a new version of
UHCTools is available, otherwise it's set to 0. This script is meant to be
launched from either Network-Startup or a Cron system that periodically
checks for new versions. Then a simple check can be added to 
S:Shell-Startup or something similiar.

Example S:Shell-Startup check:

IF $UHCNEW EQ "1"
  Echo "A new version of UHC Tools is available!"
ENDIF