dotfiles/.chezmoiscripts/run_onchange_linux-install-packages.sh.tmpl
2025-04-23 20:13:59 +08:00

19 lines
330 B
Cheetah

{{ if eq .chezmoi.os "linux" -}}
{{ if eq .chezmoi.osRelease.id "manjaro" -}}
#!/usr/bin/env bash
{{ range .packages.linux.manjaro.pacman -}}
sudo pacman -S --needed --noconfirm {{ . | quote }}
{{ end -}}
{{ range .packages.linux.manjaro.aur -}}
yay -S --needed --noconfirm {{ . | quote }}
{{ end -}}
{{ end -}}
{{ end -}}