summaryrefslogtreecommitdiff
path: root/testing/gtk3/gtk3.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-21 00:02:19 +0000
committerroot <root@rshg054.dnsready.net>2012-07-21 00:02:19 +0000
commit0c8308a9eb7ef6a30cec078ad1d753bd52979b66 (patch)
tree4ed4ccb8be3076c0b8f3366e05f0ebcd68c65e39 /testing/gtk3/gtk3.install
parent226ac092dca4754b7b5a421e226c5971e3b607b2 (diff)
Sat Jul 21 00:02:19 UTC 2012
Diffstat (limited to 'testing/gtk3/gtk3.install')
-rw-r--r--testing/gtk3/gtk3.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/gtk3/gtk3.install b/testing/gtk3/gtk3.install
new file mode 100644
index 000000000..ca20d2865
--- /dev/null
+++ b/testing/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
+}