Closed drtaru closed 1 year ago
could also do something like dialogVersion=$(echo $dialogURL | sed 's/[^\-]*-//' | sed 's/\.[^.]*$//')
to avoid any version hard coding as well.
The thought here is the hard lower limit for 1.11 is 2.2
This mostly only applies to re-runs by admins as the script running on enrollment should always detect no dialog and download it fresh.
fair enough, just thought I'd chime in :)
I added a minimum version check to the
dialogCheck
function and split out the SwiftDialog install portion to it's own function as it is now used twice.Log output on a machine with an outdated version "
2.1.0.4148
" of SwiftDialogLog output from a machine that does not have SwiftDialog installed.