Record the installer's region choice during system setup

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 23:20:36 -04:00
1 parent 83d158ad07
commit c86af5cea5
6 files changed
+68 -4

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
run_logged "$OMARCHY_INSTALL/config/region.sh"
run_logged "$OMARCHY_INSTALL/config/theme-system.sh"
run_logged "$OMARCHY_INSTALL/config/browser-policy.sh"
run_logged "$OMARCHY_INSTALL/config/increase-lockout-limit.sh"
+13
View File
@@ -0,0 +1,13 @@
case ${OMARCHY_REGION:-global} in
global)
rm -f /etc/omarchy/region
;;
china)
mkdir -p /etc/omarchy
echo china >/etc/omarchy/region
;;
*)
echo "Unknown OMARCHY_REGION: $OMARCHY_REGION" >&2
exit 1
;;
esac