Up.
This commit is contained in:
parent
9e1cf20f96
commit
8ce1ff5a7d
@ -42,7 +42,7 @@ ZIMDIR=${HOME}/.zim
|
||||
{{- if ne .chezmoi.username "root" }}
|
||||
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install --yes --no-install-recommends --ignore-missing zsh
|
||||
{{- else }}
|
||||
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install --yes --no-install-recommends --ignore-missing zsh
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends --ignore-missing zsh
|
||||
{{- end }}
|
||||
|
||||
curl -sS https://starship.rs/install.sh | sh
|
||||
|
@ -48,17 +48,11 @@ echo -e "\033[0;32m>>>>> Begin LVim installation <<<<<\033[0m"
|
||||
{{- end}}
|
||||
|
||||
## Install packages
|
||||
for package in ${packages[@]}; do
|
||||
if [ "$(yay -Qq $package 2> /dev/null)" != $package ]; then
|
||||
echo "installing packages"
|
||||
|
||||
{{- if ne .chezmoi.username "root" }}
|
||||
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install --yes --no-install-recommends --ignore-missing $package
|
||||
{{- else }}
|
||||
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install --yes --no-install-recommends --ignore-missing $package
|
||||
{{- end }}
|
||||
fi
|
||||
done
|
||||
{{- if ne .chezmoi.username "root" }}
|
||||
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install --yes --no-install-recommends --ignore-missing neovim python3-pynvim npm
|
||||
{{- else }}
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends --ignore-missing neovim python3-pynvim npm
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user