summaryrefslogtreecommitdiff
path: root/gnome-unstable/ibus/ibus.install
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/ibus/ibus.install')
-rw-r--r--gnome-unstable/ibus/ibus.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnome-unstable/ibus/ibus.install b/gnome-unstable/ibus/ibus.install
new file mode 100644
index 000000000..e4e446693
--- /dev/null
+++ b/gnome-unstable/ibus/ibus.install
@@ -0,0 +1,17 @@
+post_install() {
+ gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
+ gtk-query-immodules-3.0 --update-cache
+
+ gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_remove() {
+ gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
+ gtk-query-immodules-3.0 --update-cache
+
+ gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}