mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-08 07:15:27 +02:00
Update version check to include 2.4.211
This commit is contained in:
1 parent
3dd9a06d67
commit
cfccbe2bed
1 file changed
+2
-1
@@ -375,8 +375,9 @@ postupgrade_changes() {
|
||||
}
|
||||
|
||||
check_minimum_version() {
|
||||
if [[ "$INSTALLEDVERSION" != "2.4.210" ]] && [[ ! "$INSTALLEDVERSION" =~ ^3\. ]]; then
|
||||
if [[ "$INSTALLEDVERSION" != "2.4.210" ]] && [[ "$INSTALLEDVERSION" != "2.4.211" ]] && [[ ! "$INSTALLEDVERSION" =~ ^3\. ]]; then
|
||||
echo "You must be on at least Security Onion 2.4.210 to upgrade. Currently installed version: $INSTALLEDVERSION"
|
||||
echo "Run sudo BRANCH=2.4/main soup to install the latest 2.4 branch before running soupto3"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user