mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
change to egrep
This commit is contained in:
@@ -4223,7 +4223,7 @@ install_centos_stable() {
|
|||||||
|
|
||||||
if echo "$STABLE_REV" | grep -q "archive";then # point release being applied
|
if echo "$STABLE_REV" | grep -q "archive";then # point release being applied
|
||||||
local ver=$(echo "$STABLE_REV"|awk -F/ '{print $2}') # strip archive/
|
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
|
local ver=$STABLE_REV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user