mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
20 lines
464 B
Plaintext
Executable File
20 lines
464 B
Plaintext
Executable File
post_install() {
|
|
echo -n "Registering mozc on uim..."
|
|
uim-module-manager --register mozc
|
|
[[ $? != 0 ]] && echo "Failed." || echo "Done."
|
|
|
|
cat << _EOF
|
|
==> You must run the following command to use mozc
|
|
==> whenever you upgrade or (re-)install uim.
|
|
|
|
\`sudo uim-module-manager --register mozc'
|
|
|
|
_EOF
|
|
}
|
|
|
|
post_remove() {
|
|
echo -n "Unregistering mozc from uim..."
|
|
uim-module-manager --unregister mozc
|
|
[[ $? != 0 ]] && echo "Failed." || echo "Done."
|
|
}
|