update documentation and installation script for v2.9 branch

This commit is contained in:
Ondřej Ešler 2019-07-23 16:02:32 +02:00
parent adfc6adccc
commit 3a9bb13bf4
2 changed files with 5 additions and 5 deletions

View File

@ -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:: 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:: 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 - *Note -
some syntax definitions which exist in Nano upstream may be preferable to the ones provided by this package. some syntax definitions which exist in Nano upstream may be preferable to the ones provided by this package.

View File

@ -7,7 +7,7 @@ if [ ! "$(command -v unzip)" ]; then
fi fi
_fetch_sources(){ _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/ ] if [ ! -d ~/.nano/ ]
then then
mkdir ~/.nano/ mkdir ~/.nano/
@ -15,8 +15,8 @@ _fetch_sources(){
cd ~/.nano/ || exit cd ~/.nano/ || exit
unzip -o "/tmp/nanorc.zip" unzip -o "/tmp/nanorc.zip"
mv nanorc-master/* ./ mv nanorc-v2.9/* ./
rm -rf nanorc-master rm -rf nanorc-v2.9
rm /tmp/nanorc.zip rm /tmp/nanorc.zip
} }