From: Gunnar Hjalmarsson <gunnarhj@debian.org>
Date: Mon, 16 Aug 2021 22:16:00 +0200
Subject: Replace "fcitx" with "fcitx5" in IM_CONFIG_PREFERRED_RULE

Closes: #990742
Origin: https://salsa.debian.org/input-method-team/im-config/-/commit/e35ee1d2
---
 default/im-config-Debian | 2 +-
 default/im-config-Ubuntu | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/default/im-config-Debian b/default/im-config-Debian
index bb574de..6c53132 100644
--- a/default/im-config-Debian
+++ b/default/im-config-Debian
@@ -30,7 +30,7 @@ CJKV_DEFAULT_DESKTOP="*"
 CJKV_LOCALES="zh_TW:zh_HK:zh_SG:zh_CN:ja_JP:ko_KR:vi_VN"
 
 # Set locale dependent preferred IM over standard auto mode if not GNOME
-IM_CONFIG_PREFERRED_RULE="zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx"
+IM_CONFIG_PREFERRED_RULE="zh_CN,fcitx5:zh_TW,fcitx5:zh_HK,fcitx5:zh_SG,fcitx5"
 
 # User and system wide configuration is normally done via im-config program.
 # The above IM_CONFIG_PREFERRED_RULE sets locale dependent preferred IM
diff --git a/default/im-config-Ubuntu b/default/im-config-Ubuntu
index dfd537c..6ef8373 100644
--- a/default/im-config-Ubuntu
+++ b/default/im-config-Ubuntu
@@ -30,7 +30,7 @@ CJKV_DEFAULT_DESKTOP="LXQt"
 CJKV_LOCALES="zh_TW:zh_HK:zh_SG:zh_CN:ja_JP:ko_KR:vi_VN"
 
 # Set locale dependent preferred IM over standard auto mode if not GNOME
-IM_CONFIG_PREFERRED_RULE="zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx"
+IM_CONFIG_PREFERRED_RULE="zh_CN,fcitx5:zh_TW,fcitx5:zh_HK,fcitx5:zh_SG,fcitx5"
 
 # User and system wide configuration is normally done via im-config program.
 # The above IM_CONFIG_PREFERRED_RULE sets locale dependent preferred IM
