Fix acng to actually cache

This commit is contained in:
Mike Reeves
2021-03-26 16:18:49 -04:00
parent 26f8ae87c5
commit 955d41abde
2 changed files with 1 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ get_random_value() {
} }
gpg_rpm_import() { gpg_rpm_import() {
if [ $OS = 'centos' ]; then if [[ "$OS" = "centos" ]]; then
if [[ "$WHATWOULDYOUSAYYAHDOHERE" == "setup" ]]; then if [[ "$WHATWOULDYOUSAYYAHDOHERE" == "setup" ]]; then
local RPMKEYSLOC=$temp_install_dir/salt/common/keys local RPMKEYSLOC=$temp_install_dir/salt/common/keys
else else

View File

@@ -635,7 +635,6 @@ set_redirect >> $setup_log 2>&1
gpg_rpm_import gpg_rpm_import
if [[ ! $is_airgap ]] if [[ ! $is_airgap ]]
securityonion_repo >> $setup_log 2>&1 securityonion_repo >> $setup_log 2>&1
gpg_rpm_import >> $setup_log 2>&1
update_packages >> $setup_log 2>&1 update_packages >> $setup_log 2>&1
fi fi