mpanighetti / install-or-defer

A framework for prompting users of Jamf Pro-managed Macs to install Apple software updates.
Apache License 2.0
148 stars 28 forks source link

convert_seconds command not found #87

Closed master-vodawagner closed 2 years ago

master-vodawagner commented 2 years ago

I think you might need to move the timing section below the function? Currently it errors out I'm guessing at the point of calculating seconds the script isn't aware of the convert_seconds function?

X:~ root# /Library/Scripts/install-or-defer.sh Calculating script timing... /Library/Scripts/install-or-defer.sh: line 248: convert_seconds: command not found Maximum deferral time: /Library/Scripts/install-or-defer.sh: line 255: convert_seconds: command not found Deferral period: /Library/Scripts/install-or-defer.sh: line 262: convert_seconds: command not found Prompt timeout: /Library/Scripts/install-or-defer.sh: line 269: convert_seconds: command not found Update delay: /Library/Scripts/install-or-defer.sh: line 276: convert_seconds: command not found Hard restart delay:

mpanighetti commented 2 years ago

Good catch, thanks! Should be fixed in #88.