From 0ee8b8f65313d33b1ea4f406b2c4e772b0fe4895 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Thu, 23 Jun 2022 10:27:18 +0430 Subject: feat: fix a couple of issues (#2750) * fix(nvimtree): do not set key if disabled * fix(telescope): move pickers of out defaults * fix(install): use proper gentoo installation --- utils/installer/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/installer') diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 66149cf6..2903dd7f 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -160,7 +160,7 @@ function detect_platform() { elif [ -f "/etc/fedora-release" ] || [ -f "/etc/redhat-release" ]; then RECOMMEND_INSTALL="sudo dnf install -y" elif [ -f "/etc/gentoo-release" ]; then - RECOMMEND_INSTALL="emerge install -y" + RECOMMEND_INSTALL="emerge -tv" else # assume debian based RECOMMEND_INSTALL="sudo apt install -y" fi -- cgit v1.2.3 From 8989984b781367b2744c4857e73d8943311db241 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Thu, 23 Jun 2022 16:11:47 +0200 Subject: feat(installer): add verify-plugins hook (#2751) --- utils/installer/install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'utils/installer') diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 2903dd7f..ec675e6d 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -206,6 +206,15 @@ function check_neovim_min_version() { fi } +function verify_core_plugins() { + msg "Verifying core plugins" + if ! bash "$LUNARVIM_BASE_DIR/utils/ci/verify_plugins.sh"; then + echo "[ERROR]: Unable to verify plugins, makde sure to manually run ':PackerSync' when starting lvim for the first time." + exit 1 + fi + echo "Verification complete!" +} + function validate_lunarvim_files() { local verify_version_cmd='if v:errmsg != "" | cquit | else | quit | endif' if ! "$INSTALL_PREFIX/bin/lvim" --headless -c 'LvimUpdate' -c "$verify_version_cmd" &>/dev/null; then @@ -418,6 +427,8 @@ function setup_lvim() { -c 'PackerSync' echo "Packer setup complete" + + verify_core_plugins } function print_logo() { -- cgit v1.2.3