Ensure time has been synced before updating so we don't get SSL errors
This commit is contained in:
parent
d031237b42
commit
e3bda8a970
3
bin/omarchy-cmd-timesync
Executable file
3
bin/omarchy-cmd-timesync
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo systemctl restart systemd-timesyncd
|
@ -2,9 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
# Ensure the clock is synced before we start
|
||||
sudo systemctl restart systemd-timesyncd
|
||||
|
||||
omarchy-cmd-timesync
|
||||
omarchy-snapshot create || [ $? -eq 127 ]
|
||||
omarchy-update-git
|
||||
omarchy-migrate
|
||||
|
Loading…
x
Reference in New Issue
Block a user