Up.
This commit is contained in:
parent
31c4005b3f
commit
8c71f78347
@ -17,13 +17,13 @@ set -euxo pipefail
|
|||||||
if [ ! $(command -v yay) ]; then
|
if [ ! $(command -v yay) ]; then
|
||||||
echo "installing yay"
|
echo "installing yay"
|
||||||
|
|
||||||
{{ range .packages_base.archlinux.pacman -}}
|
{{ range .packages_base.archlinux.pacman }}
|
||||||
{{- if ne .chezmoi.username "root" }}
|
{{- if ne .chezmoi.username "root" }}
|
||||||
sudo pacman -S --needed --noconfirm {{ . | quote }}
|
sudo pacman -S --needed --noconfirm {{ . | quote }}
|
||||||
{{- else}}
|
{{- else}}
|
||||||
pacman -S --needed --noconfirm {{ . | quote }}
|
pacman -S --needed --noconfirm {{ . | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ end -}}
|
{{ end }}
|
||||||
|
|
||||||
git clone https://aur.archlinux.org/yay.git /tmp/yay
|
git clone https://aur.archlinux.org/yay.git /tmp/yay
|
||||||
cd /tmp/yay
|
cd /tmp/yay
|
||||||
|
Loading…
Reference in New Issue
Block a user