Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 669e778

Browse files
committed
Deprecate this version of rustup.sh
1 parent e1d3b75 commit 669e778

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rustup.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,14 @@ validate_opt () {
229229
done
230230
}
231231

232+
# This version of rustup.sh is not the canonical one, which is in the static-rust-lang-org s3 bucket
233+
echo; echo; echo
234+
warn "Downloading rustup.sh from http://www.rust-lang.org/rustup.sh is deprecated."
235+
msg "Use https://static.rust-lang.org/rustup.sh instead."
236+
echo; echo; echo
237+
# Look at me!
238+
sleep 4
239+
232240
probe_need CFG_CURL curl
233241

234242
CFG_SRC_DIR="$(cd $(dirname $0) && pwd)/"

0 commit comments

Comments
 (0)