Extra resilience for on-demand installation
This commit is contained in:
parent
1efe4a819f
commit
4de9f5fda3
@ -1,7 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if ! command -v tzupdate &>/dev/null; then
|
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
|
fi
|
||||||
|
|
||||||
sudo tzupdate
|
sudo tzupdate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user