Let's do it up front

This commit is contained in:
David Heinemeier Hansson committed 2025-09-13 20:13:24 +02:00
1 parent 7f5e5460f0
commit 9e9cf2f576
1 file changed
+3 -1
+3 -1
View File
@@ -3,6 +3,9 @@
# Rely on Omarchy for styling and error handling
source "$OMARCHY_INSTALL/helpers/all.sh"
# Ensure tzupdate is available for guessing timezone
command -v tzupdate >/dev/null || sudo pacman -Sy --noconfirm tzupdate
abort() {
gum style "${1:-Aborted installation}"
echo
@@ -89,7 +92,6 @@ user_form() {
done
# Pick timezone
command -v tzupdate >/dev/null || sudo pacman -Sy --noconfirm tzupdate
geo_guessed_timezone=$(tzupdate -p 2>/dev/null)
if [[ -n $geo_guessed_timezone ]]; then