toolkit/func/core/pkg_bash/00-bash-version.sh
2021-07-04 23:50:25 -07:00

8 lines
201 B
Bash
Executable file

#!/bin/bash
# Bash is default installed on minimal
r_log "bash" "Check that the bash version is valid"
bash --version | grep -qE "(x86_64|aarch64|powerpc64le)-redhat-linux-gnu"
r_checkExitStatus $?