From 6011f90328d88a2c449442d6a31fef3614926ec9 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 24 Jan 2026 13:21:01 -0600 Subject: fix(archsetup): bug fixes, locale support, and code improvements Bug fixes: - Initialize errors_encountered at script start (not in intro) - Capture correct exit code in retry_install loop - Add missing error_fatal parameters - Fix unclosed quote in error message - Quote variables in pacman_install/aur_install commands - Standardize done statements (remove trailing semicolons) New features: - Locale selection prompt with 8 common options + custom entry - Auto-derive wireless region from locale - Extract zfs-replicate to separate script file - Make archsetup repo URL configurable - Add MulticastDNS=no to avoid avahi conflict Code improvements: - Single STEPS array for show_status and main execution loop - Document security note for config file sourcing - Add explanatory comment for UFW VM behavior - Silence update-desktop-database warnings Config updates: - Add LOCALE and ARCHSETUP_REPO to example config Also adds Wayland/Hyprland desktop alternative to V2MOM roadmap. --- archsetup.conf.example | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'archsetup.conf.example') diff --git a/archsetup.conf.example b/archsetup.conf.example index 4d03fe1..54db69e 100644 --- a/archsetup.conf.example +++ b/archsetup.conf.example @@ -31,6 +31,11 @@ PASSWORD=welcome # Set to "yes" if you want to handle GPU drivers manually #NO_GPU_DRIVERS=no +# System locale (default: prompt if not already configured) +# Common options: en_US.UTF-8, en_GB.UTF-8, de_DE.UTF-8, es_ES.UTF-8, +# fr_FR.UTF-8, pt_BR.UTF-8, ja_JP.UTF-8, zh_CN.UTF-8 +#LOCALE=en_US.UTF-8 + ############################# # Git Repositories ############################# @@ -42,3 +47,4 @@ PASSWORD=welcome #ST_REPO=https://github.com/yourusername/st.git #SLOCK_REPO=https://github.com/yourusername/slock.git #DOTEMACS_REPO=https://github.com/yourusername/dotemacs.git +#ARCHSETUP_REPO=https://github.com/yourusername/archsetup.git -- cgit v1.2.3