updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / ibus-ubuntu / ibus.install
blob439f00b29c16132eb11db97ffded0ec730d2f8c4
1 post_install() {
2     echo "Updating gtk.immodules..."
3     /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
4     echo "Done."
6     /usr/sbin/gconfpkg --install ibus
7     gtk-update-icon-cache -fq -t /usr/share/icons/hicolor
9     # update for gkt3
10     gtk-query-immodules-3.0 --update-cache 
13 pre_upgrade() {
14     pre_remove $1
17 post_upgrade() {
18     post_install $1
21 pre_remove() {
22     /usr/sbin/gconfpkg --uninstall ibus
25 post_remove() {
26     /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
27     gtk-update-icon-cache -fq -t /usr/share/icons/hicolor
29     # update for gkt3
30     gtk-query-immodules-3.0 --update-cache