mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix acng to actually cache
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user