From 21b41688ee8c5056ffbb2b07df141ce1ccb4b213 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Mon, 3 Jan 2022 15:47:58 +0100 Subject: refactor: use a static lvim binary template (#1444) --- utils/installer/install.sh | 13 +----------- utils/installer/install_bin.sh | 46 +++++++++++++++++++++++------------------- 2 files changed, 26 insertions(+), 33 deletions(-) (limited to 'utils/installer') diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 1987a519..c30f2efe 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -352,18 +352,7 @@ function link_local_lvim() { } function setup_shim() { - if [ ! -d "$INSTALL_PREFIX/bin" ]; then - mkdir -p "$INSTALL_PREFIX/bin" - fi - cat >"$INSTALL_PREFIX/bin/lvim" <"$INSTALL_PREFIX/bin/lvim" </dev/null + + chmod u+x "$dst" } setup_shim "$@" + echo "You can start LunarVim by running: $INSTALL_PREFIX/bin/lvim" -- cgit v1.2.3