updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ibus-engine-git / ibus.install
blobdb09d4d0fc30adb8a8fc9c23c3fd421044390892
1 # arg 1:  the new package version
2 post_install() {
3   echo -n "updating gtk.immodules... "
4   /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
5   echo "done."
6   echo "Please run 'ibus-setup' if you use ibus for the first time."
7   echo "如果你是第一次使用ibus,请运行ibus-setup来进行必要的设置"
10 # arg 1:  the new package version
11 # arg 2:  the old package version
12 post_upgrade() {
13   /bin/true
16 # arg 1:  the old package version
17 pre_remove() {
18   /bin/true
21 # arg 1:  the old package version
22 post_remove() {
23   echo -n "updating gtk.immodules... "
24   /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
25   echo "done."
28 op=$1
29 shift
30 $op $*