First try cached URL before hitting the official repo

Change-Id: Id0cf89090155459fd660d55ce427cd34bf3136f5
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
This commit is contained in:
Dimitrios Apostolou
2019-10-11 11:16:02 +02:00
parent c6a9b3cd68
commit 482552d813

View File

@@ -44,7 +44,7 @@ cacheUrl="http://ci-files01-hki.intra.qt.io/input/rhel7/$package"
sha1="5512b80e5b71f2370d8419fa16a0bc14c5edf854"
targetFile="/tmp/$package"
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
DownloadURL "$cacheUrl" "$primaryUrl" "$sha1" "$targetFile"
sudo yum -y install "$targetFile"
rm "$targetFile"