summaryrefslogtreecommitdiff
path: root/extra/gcin/install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gcin/install')
-rw-r--r--extra/gcin/install14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/gcin/install b/extra/gcin/install
new file mode 100644
index 000000000..c16d11b5e
--- /dev/null
+++ b/extra/gcin/install
@@ -0,0 +1,14 @@
+post_install() {
+ 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_remove() {
+ post_install
+}