summaryrefslogtreecommitdiff
path: root/gnome-unstable/gtk3/gtk3.install
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/gtk3/gtk3.install')
-rw-r--r--gnome-unstable/gtk3/gtk3.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnome-unstable/gtk3/gtk3.install b/gnome-unstable/gtk3/gtk3.install
new file mode 100644
index 000000000..ca20d2865
--- /dev/null
+++ b/gnome-unstable/gtk3/gtk3.install
@@ -0,0 +1,16 @@
+post_install() {
+ /usr/bin/gtk-query-immodules-3.0 --update-cache
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
+}
+
+post_remove() {
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+}