fix pkg name

This commit is contained in:
m0duspwnens
2024-10-22 16:50:23 -04:00
parent 7a0f6d5e93
commit 1df104967e
2 changed files with 2 additions and 2 deletions

View File

@@ -914,7 +914,7 @@ update_airgap_repo() {
echo "Syncing new updates to /nsm/repo" echo "Syncing new updates to /nsm/repo"
rsync -av $AGREPO/* /nsm/repo/ rsync -av $AGREPO/* /nsm/repo/
echo "Creating repo" echo "Creating repo"
dnf -y install yum-utils createrepo dnf -y install yum-utils createrepo_c
createrepo /nsm/repo createrepo /nsm/repo
} }

View File

@@ -1820,7 +1820,7 @@ repo_sync_local() {
echo "gpgcheck=1" >> /opt/so/conf/reposync/repodownload.conf echo "gpgcheck=1" >> /opt/so/conf/reposync/repodownload.conf
logCmd "dnf repolist" logCmd "dnf repolist"
logCmd "dnf -y install yum-utils createrepo" logCmd "dnf -y install yum-utils createrepo_c"
if [[ ! $is_airgap ]]; then if [[ ! $is_airgap ]]; then
curl --retry 5 --retry-delay 60 -A "netinstall/$SOVERSION/$OS/$(uname -r)/1" https://sigs.securityonion.net/checkup --output /tmp/install curl --retry 5 --retry-delay 60 -A "netinstall/$SOVERSION/$OS/$(uname -r)/1" https://sigs.securityonion.net/checkup --output /tmp/install