mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(build): Qt's website already does mirror load balancing
This commit is contained in:
parent
4c3861d6b8
commit
99ba7d4886
|
@ -267,9 +267,7 @@ then
|
||||||
rm -rf "$QT_PREFIX_DIR"
|
rm -rf "$QT_PREFIX_DIR"
|
||||||
mkdir -p "$QT_PREFIX_DIR"
|
mkdir -p "$QT_PREFIX_DIR"
|
||||||
|
|
||||||
QT_MIRROR=http://qt.mirror.constant.com
|
wget https://download.qt.io/official_releases/qt/$QT_MAJOR.$QT_MINOR/$QT_VERSION/single/qt-everywhere-opensource-src-$QT_VERSION.tar.xz
|
||||||
|
|
||||||
wget $QT_MIRROR/official_releases/qt/$QT_MAJOR.$QT_MINOR/$QT_VERSION/single/qt-everywhere-opensource-src-$QT_VERSION.tar.xz
|
|
||||||
check_sha256 "$QT_HASH" "qt-everywhere-opensource-src-$QT_VERSION.tar.xz"
|
check_sha256 "$QT_HASH" "qt-everywhere-opensource-src-$QT_VERSION.tar.xz"
|
||||||
bsdtar -xf qt*.tar.xz
|
bsdtar -xf qt*.tar.xz
|
||||||
rm qt*.tar.xz
|
rm qt*.tar.xz
|
||||||
|
|
Loading…
Reference in New Issue
Block a user