mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 19:52:51 +01:00
Only update rule files if AG
This commit is contained in:
@@ -935,8 +935,10 @@ main() {
|
|||||||
preupgrade_changes
|
preupgrade_changes
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
echo "Updating Airgap Rule Files to the Latest."
|
if [[ $is_airgap -eq 0 ]]; then
|
||||||
update_airgap_rules
|
echo "Updating Rule Files to the Latest."
|
||||||
|
update_airgap_rules
|
||||||
|
fi
|
||||||
|
|
||||||
# since we don't run the backup.config_backup state on import we wont snapshot previous version states and pillars
|
# since we don't run the backup.config_backup state on import we wont snapshot previous version states and pillars
|
||||||
if [[ ! "$MINIONID" =~ "_import" ]]; then
|
if [[ ! "$MINIONID" =~ "_import" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user