fix: fixed neovim installation script
This commit is contained in:
parent
179dcb9aa9
commit
5f8ac4b035
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bi/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
|
@ -9,7 +9,7 @@ if [ -z ${1+x} ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
VERSION="$( echo ${1} | sed 's/v//g')"
|
||||
VERSION="$( echo ${1} | sed 's/v//g' )"
|
||||
|
||||
echo "Installing neovim version ${VERSION}"
|
||||
|
||||
|
@ -41,8 +41,8 @@ sha256sum --check nvim-linux64.tar.gz.sha256sum
|
|||
|
||||
# extract contents to the installation directory
|
||||
echo "Extracting the package to ${INSTALLATION_DIR}"
|
||||
tar xzf "${DOWNLOAD_DIR}/nvim-linux64.tar.gz" --strip-components=1 -C ${INSTALLATION_DIR}
|
||||
tar xzf "${DOWNLOAD_DIR}/nvim-linux64.tar.gz" --strip-components=1 -C "${INSTALLATION_DIR}"
|
||||
|
||||
# create the symlink
|
||||
echo "Creating the symbolic link ${SYMLINK}"
|
||||
ln -sf ${INSTALLATION_DIR}/bin/nvim ${SYMLINK}
|
||||
ln -sf "${INSTALLATION_DIR}/bin/nvim" "${SYMLINK}"
|
||||
|
|
Loading…
Reference in a new issue