aboutsummaryrefslogtreecommitdiffstats
path: root/main/librsvg/librsvg.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/librsvg/librsvg.post-install')
-rw-r--r--main/librsvg/librsvg.post-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/librsvg/librsvg.post-install b/main/librsvg/librsvg.post-install
new file mode 100644
index 0000000000..de5ca6c6c0
--- /dev/null
+++ b/main/librsvg/librsvg.post-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+#We need to update the pixbuf loaders to let GTK support SVG images
+gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
+gdk-pixbuf-query-loaders > etc/gtk-2.0/gdk-pixbuf.loaders
+
+exit 0