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 <jason.mckenna@windriver.com>
This commit is contained in:
jmckenna 2018-08-15 10:35:00 -04:00
parent 13f92f4668
commit fdd64ad1c6
1 changed files with 1 additions and 1 deletions

View File

@ -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