From 921fd172211a5cf86cd39e15105c8e7d302b492c Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 27 Jun 2022 23:34:23 +0800 Subject: [PATCH] update macos install script --- docs/nvim_install_mac.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/nvim_install_mac.sh b/docs/nvim_install_mac.sh index 043fe32..ef698c8 100644 --- a/docs/nvim_install_mac.sh +++ b/docs/nvim_install_mac.sh @@ -9,8 +9,9 @@ if [[ ! -d "$HOME/tools/" ]]; then fi # Delete existing nvim installation. -if [[ -d "$HOME/tools/nvim-osx64" ]]; then - rm -rf "$HOME/tools/nvim-osx64" +# For newer release, the directory name is nvim-macos +if [[ -d "$HOME/tools/nvim-macos" ]]; then + rm -rf "$HOME/tools/nvim-macos" fi # Extract the tar ball