Install tzupdate on demand
This commit is contained in:
1 parent
4fd6a110ea
commit
028c07d016
2 files changed
+6
-5
No files matched your search
@@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! command -v tzupdate &>/dev/null; then
|
||||
yay -S --noconfirm --needed tzupdate
|
||||
fi
|
||||
|
||||
sudo tzupdate
|
||||
new_timezone=$(timedatectl show -p Timezone --value)
|
||||
omarchy-restart-waybar
|
||||
|
||||
Reference in new issue
Block a user