From a746d0c4d30e510632bd096815ece1ddba0e9bdf Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Tue, 27 Feb 2024 15:06:11 +0100 Subject: [PATCH] Up. --- .../run_onchange_10-install-packages.sh.tmpl | 18 ++++++++++++------ .../run_onchange_80-install-lvim.sh.tmpl | 6 ++---- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl b/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl index fc18aa8..2863f17 100644 --- a/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl @@ -81,7 +81,17 @@ packages=( ## Install packages packages=(${packages[@]//starship/makedeb}) - packages+=(mist cmake ninja-build pkg-config) + packages+=( + autoconf + automake + cmake + doxygen + libtool + libtool-bin + mist + ninja-build + pkg-config + ) for package in ${packages[@]}; do echo "installing ${package}..." @@ -93,11 +103,7 @@ packages=( {{- end }} done - {{- if ne .chezmoi.username "root" }} - DEBIAN_FRONTEND=noninteractive sudo -E mist install starship - {{- else }} - DEBIAN_FRONTEND=noninteractive mist install starship - {{- end }} + curl -sS https://starship.rs/install.sh | sh echo -e "\033[0;32m>>>>> Finish Debian/Ubuntu Linux packages installation <<<<<\033[0m" diff --git a/home/.chezmoiscripts/run_onchange_80-install-lvim.sh.tmpl b/home/.chezmoiscripts/run_onchange_80-install-lvim.sh.tmpl index 6f8a279..0754b76 100644 --- a/home/.chezmoiscripts/run_onchange_80-install-lvim.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_80-install-lvim.sh.tmpl @@ -12,7 +12,6 @@ echo -e "\033[0;32m>>>>> Begin LVim installation <<<<<\033[0m" {{ if (eq .chezmoi.osRelease.id "manjaro" "arch") -}} - {{- /* we're on Arch based system */ -}} ## Update system {{- if ne .chezmoi.username "root" }} sudo pacman -Syu --noconfirm @@ -35,9 +34,6 @@ echo -e "\033[0;32m>>>>> Begin LVim installation <<<<<\033[0m" {{ else if (eq .chezmoi.osRelease.id "debian" "ubuntu") -}} - {{- /* we're on Debian based system */ -}} - echo -e "\033[0;32m>>>>> Begin zsh installation <<<<<\033[0m" - ## Update system {{- if ne .chezmoi.username "root" }} DEBIAN_FRONTEND=noninteractive sudo -E apt update @@ -54,6 +50,8 @@ echo -e "\033[0;32m>>>>> Begin LVim installation <<<<<\033[0m" DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends --ignore-missing python3-pynvim npm {{- end }} + mist install neovim + {{- end }} LV_BRANCH='release-1.3/neovim-0.9' bash <(curl -s 'https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/utils/installer/install.sh')