autopkg / grahamgilbert-recipes

Apache License 2.0
7 stars 19 forks source link

fix installcheck_script #56

Open joncrain opened 1 month ago

joncrain commented 1 month ago

Current installcheck_script does not properly compare versions and the --version check also triggers a check in on older crypt versions.

Moves script to zsh, checks the file type and utilizes is-at-least (https://scriptingosx.com/2019/11/comparing-version-strings-in-zsh/)