mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Ensure time has been synced before updating so we don't get SSL errors
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user