diff options
author | ponsfoot | 2016-09-20 14:33:39 +0900 |
---|---|---|
committer | ponsfoot | 2016-09-20 14:33:39 +0900 |
commit | d55f27a2487df760da3536ebae76cdb0e78c2961 (patch) | |
tree | 3cbb256616fb3cd568aee17a2602f9dae7f08c33 /uim-debian.install | |
download | aur-d55f27a2487df760da3536ebae76cdb0e78c2961.tar.gz |
Initial commit
Diffstat (limited to 'uim-debian.install')
-rw-r--r-- | uim-debian.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/uim-debian.install b/uim-debian.install new file mode 100644 index 000000000000..3a47afa5cf1e --- /dev/null +++ b/uim-debian.install @@ -0,0 +1,11 @@ +post_install() { + if [[ -f /usr/lib/uim/plugin/libuim-mozc.so ]]; then + echo -n "Registering mozc on uim..." + /usr/bin/uim-module-manager --register mozc + [[ $? != 0 ]] && echo "Failed." || echo "Done." + fi +} + +post_upgrade() { + post_install $1 +} |