summaryrefslogtreecommitdiffstats
path: root/abs/extra/gtk3/gtk3.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/gtk3/gtk3.install')
-rw-r--r--abs/extra/gtk3/gtk3.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/extra/gtk3/gtk3.install b/abs/extra/gtk3/gtk3.install
new file mode 100644
index 0000000..ca20d28
--- /dev/null
+++ b/abs/extra/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
+}