From 5f898ae569b4f141a053bd244d883340dc976cda Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 1 Jul 2022 08:47:46 -0400 Subject: [PATCH] change to egrep --- salt/salt/scripts/bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/salt/scripts/bootstrap-salt.sh b/salt/salt/scripts/bootstrap-salt.sh index be5477ca4..47d25949c 100644 --- a/salt/salt/scripts/bootstrap-salt.sh +++ b/salt/salt/scripts/bootstrap-salt.sh @@ -4223,7 +4223,7 @@ install_centos_stable() { if echo "$STABLE_REV" | grep -q "archive";then # point release being applied local ver=$(echo "$STABLE_REV"|awk -F/ '{print $2}') # strip archive/ - elif echo "$STABLE_REV" | grep -vq "archive|latest";then # latest or major version(3003, 3004, etc) being applie + elif echo "$STABLE_REV" | egrep -vq "archive|latest";then # latest or major version(3003, 3004, etc) being applie local ver=$STABLE_REV fi