Skip to content

Commit

Permalink
Merge pull request #551 from brson/nodisclaim
Browse files Browse the repository at this point in the history
Revert "www: Add a disclaimer about curl | sh"
  • Loading branch information
alexcrichton authored Jun 27, 2016
2 parents 2ae4713 + cb79e50 commit 0d414ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
20 changes: 4 additions & 16 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,14 @@
</p>

<div id="platform-instructions-unix" class="instructions" style="display: none;">
<p>Run the following in your terminal<sup></sup>, then follow the onscreen instructions.</p>
<p>Run the following in your terminal, then follow the onscreen instructions.</p>
<pre>curl https://sh.rustup.rs -sSf | sh</pre>
<p id="sh-disclaimer">
<sup></sup>
<a href="https://sandstorm.io/news/2015-09-24-is-curl-bash-insecure-pgp-verified-install">
On the security of <code>curl | sh</code>
</a>
</p>
</div>

<div id="platform-instructions-win" class="instructions" style="display: none;">
<p>
Download and run
<a class="rustup-link" href="https://win.rustup.rs">rustup&#x2011;init.exe</a>
<a href="https://win.rustup.rs">rustup&#x2011;init.exe</a>
then follow the onscreen instructions.
</p>
</div>
Expand Down Expand Up @@ -73,22 +67,16 @@

<div id="platform-instructions-default" class="instructions">
<div>
<p>If you are running Unix,<br/>run the following in your terminal<sup></sup>, then follow the onscreen instructions.</p>
<p>If you are running Unix,<br/>run the following in your terminal, then follow the onscreen instructions.</p>
<pre>curl https://sh.rustup.rs -sSf | sh</pre>
<p id="sh-disclaimer">
<sup></sup>
<a href="https://sandstorm.io/news/2015-09-24-is-curl-bash-insecure-pgp-verified-install">
On the security of <code>curl | sh</code>
</a>
</p>
</div>

<hr/>

<div>
<p>
If you are running Windows,<br/>download and run
<a class="rustup-link" href="https://win.rustup.rs">rustup&#x2011;init.exe</a>
<a href="https://win.rustup.rs">rustup&#x2011;init.exe</a>
then follow the onscreen instructions.
</p>
</div>
Expand Down
10 changes: 2 additions & 8 deletions www/rustup.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ hr {
box-shadow: inset 0px 0px 20px 0px #333333;
}

#platform-instructions-win .rustup-link,
#platform-instructions-default .rustup-link {
#platform-instructions-win a,
#platform-instructions-default a {
display: block;
padding-top: 0.4rem;
padding-bottom: 0.6rem;
Expand All @@ -130,12 +130,6 @@ hr {
line-height: 2rem;
}

#sh-disclaimer {
font-size: 14px;
padding-top: 20px;
padding-bottom: 10px;
}

#warning {
color: red;
font-weight: 500;
Expand Down

0 comments on commit 0d414ef

Please sign in to comment.