dont need to repo_sync rocky or centos

This commit is contained in:
m0duspwnens
2023-08-28 09:37:45 -04:00
parent 388c90f641
commit 1ef4d2cde1

View File

@@ -780,7 +780,7 @@ main() {
if [[ $is_airgap -eq 0 ]]; then
yum clean all
check_os_updates
elif [[ $OS == 'oel' || $OS == 'rocky'|| $OS == 'centos' ]]; then
elif [[ $OS == 'oel' ]]; then
# sync remote repo down to local if not airgap
repo_sync
check_os_updates