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

+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