add ubuntu support in install script

This commit is contained in:
2021-11-20 14:09:23 -07:00
parent b5c62fabe5
commit 4d5c38ca1d

View File

@@ -4,7 +4,7 @@ echo "Running installation script\n"
{{- if eq .chezmoi.osRelease.id "alpine" }} {{- if eq .chezmoi.osRelease.id "alpine" }}
apk update apk update
apk add zsh neovim tmux bat perl apk add zsh neovim tmux bat perl
{{- else if eq .chezmoi.osRelease.id "debian" }} {{- else if (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "ubuntu")) }}
sudo apt update sudo apt update
sudo apt install zsh neovim tmux perl -y sudo apt install zsh neovim tmux perl -y
{{- end }} {{- end }}