From 54fc07b5b8f30d82edea6139f77456e1b6ddbeab Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Fri, 17 Feb 2023 11:07:44 -0500 Subject: [PATCH] yum-utils --- setup/so-functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index a0ee4c0d5..84d61a63c 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1949,11 +1949,11 @@ repo_sync_local() { echo "gpgcheck=1" >> /root/repodownload.conf echo "gpgkey=https://repo.securityonion.net/file/securityonion-repo/keys/securityonion.pub" >> /root/repodownload.conf - REPOSYNC=$(rpm -qa | grep createrepo | wc -l) + REPOSYNC=$(rpm -qa | grep yum-utils | wc -l) if [[ ! "$REPOSYNC" -gt 0 ]]; then # Install reposync - info "Installing createrepo" - logCmd "dnf -y install -c /root/repodownload.conf createrepo" + info "Installing yum-utils" + logCmd "dnf -y install -c /root/repodownload.conf yum-utils" else info "We have what we need to sync" fi