diff --git a/home/.chezmoiscripts/run_onchange_after_0-install-packages.sh.tmpl b/home/.chezmoiscripts/run_onchange_after_0-install-packages.sh.tmpl index d9f980a1..6ee9e089 100644 --- a/home/.chezmoiscripts/run_onchange_after_0-install-packages.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_after_0-install-packages.sh.tmpl @@ -16,8 +16,9 @@ NC='\033[0m' {{ if .packages.arch.paru }} # Use -Syu to ensure system is up-to-date and libalpm version matches paru sudo pacman -Syu --noconfirm + # ponytail: localsend-bin's .SRCINFO is stale; sync repo deps from PKGBUILD until upstream regenerates it. for attempt in 1 2 3; do - paru -S --needed --noconfirm {{ range .packages.arch.paru }}{{ . }} {{ end }} && break + paru -S --needed --noconfirm --mflags "--syncdeps --noconfirm" {{ range .packages.arch.paru }}{{ . }} {{ end }} && break (( attempt == 3 )) && exit 1 sleep 5 done