-
- gsu_is_a_number "${BASH_VERSINFO[0]}"
- if [[ $ret -lt 0 ]]; then
- gsu_msg "fatal: failed to determine bash version"
- exit 1
- fi
-
- if [[ "${BASH_VERSINFO[0]}" -lt 4 ]]; then
- gsu_msg "fatal: This script requires at least bash 4.0"
- exit 1
- fi