toolkit/func/core/pkg_bash/00-bash-version.sh

9 lines
201 B
Bash
Raw Normal View History

2021-07-05 06:50:25 +00:00
#!/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 $?