summaryrefslogtreecommitdiff
path: root/extra/gcin/install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-04 12:58:32 +0000
committerroot <root@rshg047.dnsready.net>2011-05-04 12:58:32 +0000
commit9780d07c31b22125ad7ecba4e281ff41194f95be (patch)
tree2336cb3e1bd98fe4b7631eb175c25f90a243815a /extra/gcin/install
parentddb2605f6bccbdb398f3937ff21e4688915a450d (diff)
Wed May 4 12:58:31 UTC 2011
Diffstat (limited to 'extra/gcin/install')
-rw-r--r--extra/gcin/install11
1 files changed, 6 insertions, 5 deletions
diff --git a/extra/gcin/install b/extra/gcin/install
index 1097ea400..c16d11b5e 100644
--- a/extra/gcin/install
+++ b/extra/gcin/install
@@ -1,13 +1,14 @@
post_install() {
- echo -n "updating gtk.immodules... "
- /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
- echo "done."
+ echo -n "updating gtk immodules... "
+ [ -x /usr/bin/gtk-query-immodules-2.0 ] && /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+ [ -x /usr/bin/gtk-query-immodules-3.0 ] && /usr/bin/gtk-query-immodules-3.0 > /usr/lib/gtk-3.0/3.0.0/immodules.cache
+ echo "done."
}
post_upgrade() {
- post_install
+ post_install
}
post_remove() {
- post_install
+ post_install
}