mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fix acng to actually cache
This commit is contained in:
@@ -163,7 +163,7 @@ get_random_value() {
|
||||
}
|
||||
|
||||
gpg_rpm_import() {
|
||||
if [ $OS = 'centos' ]; then
|
||||
if [[ "$OS" = "centos" ]]; then
|
||||
if [[ "$WHATWOULDYOUSAYYAHDOHERE" == "setup" ]]; then
|
||||
local RPMKEYSLOC=$temp_install_dir/salt/common/keys
|
||||
else
|
||||
|
||||
@@ -635,7 +635,6 @@ set_redirect >> $setup_log 2>&1
|
||||
gpg_rpm_import
|
||||
if [[ ! $is_airgap ]]
|
||||
securityonion_repo >> $setup_log 2>&1
|
||||
gpg_rpm_import >> $setup_log 2>&1
|
||||
update_packages >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user