From e23f2a84a6cddc3e57ffd9465040287dd4bd8d20 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 15 Aug 2019 11:17:38 +0800 Subject: [PATCH] www: specify that the installation command should be run as normal user Fixes #112 --- www/ghcup.css | 6 ++++++ www/index.html | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/www/ghcup.css b/www/ghcup.css index a2737f6..c995699 100644 --- a/www/ghcup.css +++ b/www/ghcup.css @@ -119,6 +119,7 @@ hr { margin-right: auto; padding-top: 1rem; padding-bottom: 1rem; + padding-right: 1rem; text-align: center; border-radius: 3px; box-shadow: inset 0px 0px 20px 0px #333333; @@ -160,3 +161,8 @@ hr { margin-right: auto; padding: 1em; } + +.ghcup-command:before { + color: #999; + content: " $ "; +} diff --git a/www/index.html b/www/index.html index 71cadc5..8b92fe9 100644 --- a/www/index.html +++ b/www/index.html @@ -25,20 +25,20 @@

@@ -77,8 +77,8 @@
-

If you are running Linux, macOS or FreeBSD,
run the following in your terminal, then follow the onscreen instructions.

-
curl https://get-ghcup.haskell.org -sSf | sh
+

If you are running Linux, macOS or FreeBSD,
run the following in your terminal (as a user other than root), then follow the onscreen instructions.

+
curl https://get-ghcup.haskell.org -sSf | sh

If you don't like curl | sh, see other installation methods.

@@ -96,8 +96,8 @@

To install Haskell, if you are running Linux, macOS or FreeBSD,
run the following - in your terminal, then follow the onscreen instructions.

-
curl https://get-ghcup.haskell.org -sSf | sh
+ in your terminal (as a user other than root), then follow the onscreen instructions.

+
curl https://get-ghcup.haskell.org -sSf | sh

If you don't like curl | sh, see other installation methods.

@@ -141,8 +141,8 @@

To install Haskell, if you are running Linux, macOS or FreeBSD,
run the following - in your terminal, then follow the onscreen instructions.

-
curl https://get-ghcup.haskell.org -sSf | sh
+ in your terminal (as a user other than root), then follow the onscreen instructions.

+
curl https://get-ghcup.haskell.org -sSf | sh

If you don't like curl | sh, see other installation methods.