From 3a9bb13bf4632aafafcf4f1dc4ca5a9987967e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondr=CC=8Cej=20Es=CC=8Cler?= Date: Tue, 23 Jul 2019 16:02:32 +0200 Subject: [PATCH] update documentation and installation script for v2.9 branch --- Readme.rst | 4 ++-- install.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Readme.rst b/Readme.rst index 7cb17a7..e6ee250 100644 --- a/Readme.rst +++ b/Readme.rst @@ -54,11 +54,11 @@ where ``$install_path`` is ``/usr/share/nano-syntax-highlighting`` or ``~/.nano/ ~~~~~~~~~~~~~~~~~~~~~~ Finally, you can run an automatic installer using the following code:: - $ curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh + $ curl https://raw.githubusercontent.com/scopatz/nanorc/v2.9/install.sh | sh or alternatively:: - $ wget https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh -O- | sh + $ wget https://raw.githubusercontent.com/scopatz/nanorc/v2.9/install.sh -O- | sh *Note - some syntax definitions which exist in Nano upstream may be preferable to the ones provided by this package. diff --git a/install.sh b/install.sh index afb92d3..ae5fd25 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ if [ ! "$(command -v unzip)" ]; then fi _fetch_sources(){ - wget -O /tmp/nanorc.zip https://github.com/scopatz/nanorc/archive/master.zip + wget -O /tmp/nanorc.zip https://github.com/scopatz/nanorc/archive/v2.9.zip if [ ! -d ~/.nano/ ] then mkdir ~/.nano/ @@ -15,8 +15,8 @@ _fetch_sources(){ cd ~/.nano/ || exit unzip -o "/tmp/nanorc.zip" - mv nanorc-master/* ./ - rm -rf nanorc-master + mv nanorc-v2.9/* ./ + rm -rf nanorc-v2.9 rm /tmp/nanorc.zip }