mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-18 18:16:02 +01:00
Add check for post-upgrade version file
This commit is contained in:
1 parent
01518ec25e
commit
f492e87f20
1 file changed
+1
@@ -17,6 +17,7 @@ INSTALLEDVERSION=$(cat /etc/soversion)
|
||||
# not finish its post-upgrade steps; its contents are the resume point. It is read
|
||||
# here before preupgrade_changes mutates INSTALLEDVERSION and before any highstate
|
||||
# stamps /etc/soversion from the pillar.
|
||||
|
||||
POSTVERSION_FILE=/etc/sopostversion
|
||||
|
||||
if [ -f "$POSTVERSION_FILE" ]; then
|
||||
|
||||
Reference in new issue
Block a user