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