From fdd64ad1c6b3abe6c1ca9cbfd96c68362b8ee444 Mon Sep 17 00:00:00 2001 From: jmckenna Date: Wed, 15 Aug 2018 10:35:00 -0400 Subject: [PATCH] Fix inversion error in download_mirrors.sh Flag to copy back repo files was incorrectly parsed in download_mirrors.sh. This change parses the flag as intended. Change-Id: I7b999d8c85e1495df72eff3410445a948d627363 Story: 2003057 Task: 24645 Signed-off-by: jmckenna --- centos-mirror-tools/download_mirror.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centos-mirror-tools/download_mirror.sh b/centos-mirror-tools/download_mirror.sh index 3da64d60..52075c67 100755 --- a/centos-mirror-tools/download_mirror.sh +++ b/centos-mirror-tools/download_mirror.sh @@ -87,7 +87,7 @@ need_file tarball-dl.lst mvn-artifacts.lst #download RPMs/SRPMs from 3rd_party websites (not CentOS repos) by "wget" echo "step #1: start downloading RPMs/SRPMs from 3rd-party websites..." -if [ ${use_system_yum_conf} -eq 0 ]; then +if [ ${use_system_yum_conf} -ne 0 ]; then # Restore StarlingX_3rd repos from backup REPO_SOURCE_DIR=/localdisk/yum.repos.d REPO_DIR=/etc/yum.repos.d