mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-03-13 00:05:28 +01:00
Update version check to include 2.4.211
This commit is contained in:
@@ -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