Rust's simple download script
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Mon Nov 9 15:09:06 PST 2015
On Mon, Nov 09, 2015 at 06:07:57PM -0500, Andrei Alexandrescu via Digitalmars-d wrote:
> Rust has a nice way to download at
> https://www.rust-lang.org/downloads.html for Posix:
>
> $ curl -sSf https://static.rust-lang.org/rustup.sh | sh -s --
>
> The method is simple and transparent. An optional --channel=beta or
> --channel=nightly parameter chooses between a stable release
> (default), beta, or nightly build.
>
> Should we do something similar?
[...]
Probably...
... though I have to admit that the idea of running a shell script
downloaded from some random remote server (and that, as root, as
otherwise it probably wouldn't work) scares me. A lot.
T
--
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the world. --
Anonymous
More information about the Digitalmars-d
mailing list