mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-23 13:26:54 +08:00
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:
@@ -44,7 +44,7 @@ cacheUrl="http://ci-files01-hki.intra.qt.io/input/rhel7/$package"
|
|||||||
sha1="5512b80e5b71f2370d8419fa16a0bc14c5edf854"
|
sha1="5512b80e5b71f2370d8419fa16a0bc14c5edf854"
|
||||||
targetFile="/tmp/$package"
|
targetFile="/tmp/$package"
|
||||||
|
|
||||||
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
|
DownloadURL "$cacheUrl" "$primaryUrl" "$sha1" "$targetFile"
|
||||||
|
|
||||||
sudo yum -y install "$targetFile"
|
sudo yum -y install "$targetFile"
|
||||||
rm "$targetFile"
|
rm "$targetFile"
|
||||||
|
|||||||
Reference in New Issue
Block a user