mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-07 23:14:48 +02:00
soup should respect current indentation in soc_global.sls
This commit is contained in:
1 parent
faca36e74c
commit
f3a58cd336
1 file changed
+1
-1
@@ -562,7 +562,7 @@ update_version() {
|
||||
echo "Updating the Security Onion version file."
|
||||
echo $NEWVERSION > /etc/soversion
|
||||
echo $HOTFIXVERSION > /etc/sohotfix
|
||||
sed -i "/ soversion:/c\ soversion: $NEWVERSION" /opt/so/saltstack/local/pillar/global/soc_global.sls
|
||||
sed -i "s/soversion:.*/soversion: $NEWVERSION/" /opt/so/saltstack/local/pillar/global/soc_global.sls
|
||||
}
|
||||
|
||||
upgrade_check() {
|
||||
|
||||
Reference in new issue
Block a user