dotfiles/scripts/installers/install-lib.sh

5 lines
130 B
Bash

# Program version number comparison
function versionGreater() {
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1";
}