Correct the China docs and move .cn twins in the rc repository migration

This commit is contained in:
ZacharyZhang-NY committed 2026-10-06 01:02:03 -04:00
1 parent e1471efa42
commit 4eafef5025
5 files changed
+17 -7

No files matched your search

+1 -1
View File
@@ -279,7 +279,7 @@ There is no version file at runtime. `omarchy-version` derives the version from
linked checkout, and `omarchy-version-channel` sniffs the mirrorlist and
pacman.conf to answer which channel is active.
On a China machine (`/etc/omarchy/region` holds `china`), `omarchy-refresh-pacman` and the installer's `post-install/pacman.sh` run `default/region/china/pacman.sed` over the copied templates, which puts a `.omarchy.cn` twin ahead of every `.omarchy.org` server. The update itself never rewrites these files, so the twins survive every `omarchy update`.
On a China machine (`/etc/omarchy/region` holds `china`), `omarchy-refresh-pacman` and the installer's `post-install/pacman.sh` run `default/region/china/pacman.sed` over the copied templates, which puts a `.omarchy.cn` twin ahead of every `.omarchy.org` server. The update never recopies these files, and a migration that edits a `Server` line must edit its `.cn` twin the same way, as `1788112314.sh` does, so the twins survive every `omarchy update`.
## Update-related binaries