fixpath for GPG keys

This commit is contained in:
Mike Reeves
2021-03-28 22:01:58 -04:00
parent bab062e52b
commit 362bf55526
2 changed files with 3 additions and 2 deletions

View File

@@ -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