Extra resilience for on-demand installation

This commit is contained in:
David Heinemeier Hansson 2025-08-24 17:53:33 +02:00
parent 1efe4a819f
commit 4de9f5fda3

View File

@ -1,7 +1,11 @@
#!/bin/bash
if ! command -v tzupdate &>/dev/null; then
yay -S --noconfirm --needed tzupdate
if omarchy-pkg-aur-accessible; then
yay -S --noconfirm tzupdate
else
notify-send "Installing tzupdate failed due to AUR being unavailable..."
fi
fi
sudo tzupdate