mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-16 15:18:43 +02:00
Update version check to include 2.4.211
This commit is contained in:
@@ -375,8 +375,9 @@ postupgrade_changes() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_minimum_version() {
|
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 "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
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user