From 9745681080ae91ee5a6f1c71dd3db6016a6f91df Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Fri, 1 Mar 2024 11:27:56 +0100 Subject: [PATCH] Up. --- .../run_onchange_after_10-install-packages.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl b/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl index dfa9b32..01c347a 100644 --- a/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl @@ -36,7 +36,7 @@ packages=( {{- end}} ## Install yay - if [ ! exist "yay" ]; then + if [ ! $(command -v yay) ]; then log "installing yay" {{- if ne .chezmoi.username "root" }} sudo pacman -S --needed --noconfirm git base-devel