summaryrefslogtreecommitdiff
path: root/utils/installer/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/installer/install.sh')
-rwxr-xr-xutils/installer/install.sh13
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() {