From 0c273cb5083013a3c6031177bd760a5500a67c95 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 27 Nov 2007 09:28:46 +0000 Subject: gtk+: run pixbufloader backend on target, and update the icon cache afterwards git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3241 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/gtk+/gtk+.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'meta/packages/gtk+/gtk+.inc') diff --git a/meta/packages/gtk+/gtk+.inc b/meta/packages/gtk+/gtk+.inc index b0a4a81450..bddc98072e 100644 --- a/meta/packages/gtk+/gtk+.inc +++ b/meta/packages/gtk+/gtk+.inc @@ -59,3 +59,13 @@ if [ "x$D" != "x" ]; then fi } + +postinst_pixbufloader() { +if [ "x$D" != "x" ]; then + exit 1 +fi + +gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders + +test -x /usr/bin/gtk-update-icon-cache && gtk-update-icon-cache -q /usr/share/icons/hicolor +} -- cgit v1.2.3