Upgrade the system before installing Rime when switching to China
This commit is contained in:
1 parent
77c8e3f413
commit
dae9edef4c
3 files changed
+5
-4
No files matched your search
@@ -32,6 +32,7 @@ drop_cn_servers='/^Server = https:\/\/[a-z-]*\.omarchy\.cn\//d'
|
||||
if [[ $1 == "china" ]]; then
|
||||
sudo sed -i -e "$drop_cn_servers" -f "$OMARCHY_PATH/default/region/china/pacman.sed" "${pacman_files[@]}"
|
||||
echo "Package mirrors -> .cn first, .org after"
|
||||
omarchy-update-pacman -Syu --noconfirm
|
||||
sudo env OMARCHY_REGION=china OMARCHY_PATH="$OMARCHY_PATH" bash -e "$OMARCHY_PATH/install/config/region.sh"
|
||||
if [[ ! -f $HOME/.local/share/fcitx5/rime/rime_ice.schema.yaml ]]; then
|
||||
rime-ice-installer --yes
|
||||
|
||||
Reference in new issue
Block a user