desktop/mozc/uim-mozc.install
2016-09-17 18:32:10 +01:00

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."
}