mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fixpath for GPG keys
This commit is contained in:
@@ -2226,6 +2226,7 @@ securityonion_repo() {
|
||||
if [[ "$OS" == "centos" ]]; then
|
||||
mkdir -p /root/oldrepos
|
||||
mv /etc/yum.repos.d/* /root/oldrepos/
|
||||
rm -f /etc/yum.repos.d/*
|
||||
if [[ ! $is_manager && "$MANAGERUPDATES" == "1" ]]; then
|
||||
cp -f ./yum_repos/securityonioncache.repo /etc/yum.repos.d/
|
||||
else
|
||||
|
||||
@@ -632,8 +632,8 @@ set_redirect >> $setup_log 2>&1
|
||||
|
||||
set_progress_str 2 'Updating packages'
|
||||
# Import the gpg keys
|
||||
gpg_rpm_import
|
||||
if [[ ! $is_airgap ]]
|
||||
gpg_rpm_import >> $setup_log 2>&1
|
||||
if [[ ! $is_airgap ]]; then
|
||||
securityonion_repo >> $setup_log 2>&1
|
||||
update_packages >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user