summaryrefslogtreecommitdiff
path: root/utils/installer/install.sh
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-09-16 09:58:32 +0200
committerGitHub <[email protected]>2021-09-16 12:28:32 +0430
commite22f9a21c179901e6dfcbdb68d035e70eae4d9e8 (patch)
tree95fc4bbb019089cc62de91d4c722067ea313e10b /utils/installer/install.sh
parent168eb232d12f86e98f0d90c4e73e0c9968a3cb8e (diff)
fix: more robust reloading (#1556)
Diffstat (limited to 'utils/installer/install.sh')
-rwxr-xr-xutils/installer/install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh
index 876e3cd0..d2295079 100755
--- a/utils/installer/install.sh
+++ b/utils/installer/install.sh
@@ -294,6 +294,8 @@ function update_lvim() {
git -C "$LUNARVIM_RUNTIME_DIR/lvim" merge --ff-only --progress ||
echo "Unable to guarantee data integrity while updating. Please do that manually instead." && exit 1
fi
+ echo "Clearing up old startup cache"
+ "$INSTALL_PREFIX/bin/lvim" --headless +LvimCacheReset +q
echo "Your LunarVim installation is now up to date!"
}