[PATCH 4/4] gtk-immodules-cache.bbclass:fix support postrm at image creation time

Hongxu Jia
2013-01-17T07:23:12Z

Let gtk_immodule_cache_postrm exit with ok at image creation time

[YOCTO #3633]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
meta/classes/gtk-immodules-cache.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/gtk-immodules-cache.bbclass b/meta/classes/gtk-immodules-cache.bbclass
index 9ffb03b..6e1f5ef 100644
--- a/meta/classes/gtk-immodules-cache.bbclass
+++ b/meta/classes/gtk-immodules-cache.bbclass
@@ -31,7 +31,7 @@ fi

gtk_immodule_cache_postrm() {
if [ "x$D" != "x" ]; then
- exit 1
+ exit 0
fi
if [ ! -z `which gtk-query-immodules-2.0` ]; then
gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
--
1.7.10.4