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
|
set -e
|
||||||
|
|
||||||
# Ensure the clock is synced before we start
|
omarchy-cmd-timesync
|
||||||
sudo systemctl restart systemd-timesyncd
|
|
||||||
|
|
||||||
omarchy-snapshot create || [ $? -eq 127 ]
|
omarchy-snapshot create || [ $? -eq 127 ]
|
||||||
omarchy-update-git
|
omarchy-update-git
|
||||||
omarchy-migrate
|
omarchy-migrate
|
||||||
|
|||||||
Reference in New Issue
Block a user