Time has to be updated before git repo is pulled

Or SSL certificate will complain
This commit is contained in:
David Heinemeier Hansson
2026-03-08 17:01:33 +01:00
parent 5663fae835
commit 169ef6ec9e
2 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ set -e
trap 'echo ""; echo -e "\033[0;31mSomething went wrong during the update!\n\nPlease review the output above carefully, correct the error, and retry the update.\n\nIf you need assistance, get help from the community at https://omarchy.org/discord\033[0m"' ERR
if [[ $1 == "-y" ]] || omarchy-update-confirm; then
omarchy-snapshot create || (( $? == 127 ))
omarchy-snapshot create || (($? == 127))
omarchy-update-time
omarchy-update-git
omarchy-update-perform
fi