mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
10 lines
289 B
Bash
10 lines
289 B
Bash
#!/bin/bash
|
|
|
|
if [[ ! -f /etc/sudoers.d/omarchy-tzupdate ]]; then
|
|
yay -S --noconfirm --needed tzupdate
|
|
sudo tee /etc/sudoers.d/omarchy-tzupdate >/dev/null <<EOF
|
|
%wheel ALL=(root) NOPASSWD: /usr/bin/tzupdate, /usr/bin/timedatectl
|
|
EOF
|
|
sudo chmod 0440 /etc/sudoers.d/omarchy-tzupdate
|
|
fi
|