diff options
author | kylo252 <[email protected]> | 2022-06-23 16:12:26 +0200 |
---|---|---|
committer | kylo252 <[email protected]> | 2022-06-23 16:12:26 +0200 |
commit | 57bebb5c51a4e93b283a5c65563254b9bfb492cf (patch) | |
tree | 8a6f0a3596e534002833038bea79d5ede57dc563 /utils/installer/install.sh | |
parent | f1a672f8674f68d6a610b95fef29ed15339b3cbd (diff) | |
parent | 8989984b781367b2744c4857e73d8943311db241 (diff) |
Merge branch 'rolling'
Diffstat (limited to 'utils/installer/install.sh')
-rwxr-xr-x | utils/installer/install.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 66149cf6..ec675e6d 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 @@ -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() { |