From b50700114c4ee6a1ff0edbbd04419b6a447d91c1 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 6 Apr 2021 15:58:08 -0400 Subject: [PATCH] Add the do --- salt/common/tools/sbin/soup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index 6578432fa..412f10e04 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -422,8 +422,8 @@ up_2.3.3X_to_2.3.50() { DELREPOS=('CentOS-Base' 'CentOS-CR' 'CentOS-Debuginfo' 'docker-ce' 'CentOS-fasttrack' 'CentOS-Media' 'CentOS-Sources' 'CentOS-Vault' 'CentOS-x86_64-kernel' 'epel' 'epel-testing' 'saltstack' 'wazuh') - for DELREPO in "${DELREPOS[@]}"; - rm /etc/yum.repos.d/$DELREPO + for DELREPO in "${DELREPOS[@]}"; do + rm /etc/yum.repos.d/"$DELREPO" done # Copy the new repo file if not airgap