From a6845c9cc72133661ab7e2c1a6d59f0e34ca2125 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Wed, 3 Nov 2021 12:30:34 +0100 Subject: fix: dashboard now runs on fresh installs (#1896) --- utils/installer/install.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'utils/installer') diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 2e4fd55e..e7631999 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -353,16 +353,13 @@ function setup_lvim() { echo "Preparing Packer setup" - rm -f "$LUNARVIM_CONFIG_DIR/config.lua" - touch "$LUNARVIM_CONFIG_DIR/config.lua" + cp "$LUNARVIM_RUNTIME_DIR/lvim/utils/installer/config.example.lua" "$LUNARVIM_CONFIG_DIR/config.lua" "$INSTALL_PREFIX/bin/lvim" --headless \ -c 'autocmd User PackerComplete quitall' \ -c 'PackerSync' echo "Packer setup complete" - - cp "$LUNARVIM_RUNTIME_DIR/lvim/utils/installer/config.example.lua" "$LUNARVIM_CONFIG_DIR/config.lua" } function update_lvim() { -- cgit v1.2.3