diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-08-18 03:41:18 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-08-18 03:41:18 +0200 |
commit | aafba297c38c6b0a0ac0a41291af1d014011a092 (patch) | |
tree | 41b2aa8931d0f052ceda5d42f8c64abb5ab52f5d | |
parent | f1f2490ac34455b11fc923020a234bbbde5051d1 (diff) |
egrep is deprecated use grep -E
-rwxr-xr-x | scripts/prereq.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prereq.sh b/scripts/prereq.sh index 717ddf15c..2d3a921fa 100755 --- a/scripts/prereq.sh +++ b/scripts/prereq.sh @@ -233,7 +233,7 @@ printf " ---> checking if bash is installed.. " if which bash >/dev/null; then printf "found\n" printf " ---> checking if it is bash 4.x or 5.x.. " - LC_ALL=C bash --version 2>/dev/null| egrep -i 'version 4|5' >/dev/null + LC_ALL=C bash --version 2>/dev/null| grep -E -i 'version 4|5' >/dev/null if [ $? -eq 0 ]; then printf "yes\n" else |