From ab3a96f1f9da54e7682859cf62a49fcc2be10444 Mon Sep 17 00:00:00 2001 From: hitrust Date: Sat, 8 Sep 2018 19:17:08 +0800 Subject: [PATCH 1/2] Fix installing error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix installing error below : Error: None of the items in $PATH are writable. Run with sudo or add a $PATH item that you have access to. --- content/docs/installation/contents.lr | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/docs/installation/contents.lr b/content/docs/installation/contents.lr index 133a230a..f81902ad 100644 --- a/content/docs/installation/contents.lr +++ b/content/docs/installation/contents.lr @@ -46,6 +46,10 @@ get Lektor installed with our installation script: ``` $ curl -sf https://www.getlektor.com/install.sh | sh ``` +If you are not logged in as superuser, instead you should try this: +``` +$ curl -sf https://www.getlektor.com/install.sh | sudo sh +``` If you would like to install Lektor without being prompted, set LEKTOR_SILENT before running the prior command. For Windows you can use the `command prompt`: From 0bbe6380d0c98885c201b8dab1f75a49aa0e220b Mon Sep 17 00:00:00 2001 From: Joseph Nix Date: Sat, 13 Oct 2018 16:13:23 -0500 Subject: [PATCH 2/2] Changed root shell prompt line to use a # --- content/docs/installation/contents.lr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/installation/contents.lr b/content/docs/installation/contents.lr index f81902ad..e8f78e0d 100644 --- a/content/docs/installation/contents.lr +++ b/content/docs/installation/contents.lr @@ -44,7 +44,7 @@ Once you have those installed and have made sure that they are on your `PATH`, y get Lektor installed with our installation script: ``` -$ curl -sf https://www.getlektor.com/install.sh | sh +# curl -sf https://www.getlektor.com/install.sh | sh ``` If you are not logged in as superuser, instead you should try this: ```