From 4de9f5fda3c790394cf1e9cc7a3b9c0f00ab6c0a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 24 Aug 2025 17:53:33 +0200 Subject: [PATCH] Extra resilience for on-demand installation --- bin/omarchy-cmd-tzupdate | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-cmd-tzupdate b/bin/omarchy-cmd-tzupdate index 683fffe9..7ab85abd 100755 --- a/bin/omarchy-cmd-tzupdate +++ b/bin/omarchy-cmd-tzupdate @@ -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