Update dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-packages.tmpl
This commit is contained in:
parent
d8787b4e0f
commit
f4ed7e62c3
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
{{ if eq .host.distro.id "arch" }}
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
||||||
|
@ -13,3 +14,4 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
sudo packan -Sy --noconfirm --needed {{ $packages | sortAlpha | uniq | join " " -}}
|
sudo packan -Sy --noconfirm --needed {{ $packages | sortAlpha | uniq | join " " -}}
|
||||||
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue