Update version check to include 2.4.211

This commit is contained in:
Mike Reeves
2026-03-11 15:59:23 -04:00
committed by GitHub
parent 3dd9a06d67
commit cfccbe2bed

View File

@@ -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
}