Ensure time has been synced before updating so we don't get SSL errors

This commit is contained in:
David Heinemeier Hansson 2025-08-25 11:58:19 +02:00
parent d031237b42
commit e3bda8a970
2 changed files with 4 additions and 3 deletions

3
bin/omarchy-cmd-timesync Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
sudo systemctl restart systemd-timesyncd

View File

@ -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