[oe-commits] Koen Kooi : gnome-panel 2.32.1: adjust post-inst for new gconf-native

git at git.openembedded.org git at git.openembedded.org
Thu Dec 1 19:44:09 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: 3b1ce08ec2b38bdb96e768d6a38719e98fac1eb7
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=3b1ce08ec2b38bdb96e768d6a38719e98fac1eb7

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Thu Dec  1 18:46:50 2011 +0100

gnome-panel 2.32.1: adjust post-inst for new gconf-native

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 .../gnome-panel/gnome-panel_2.32.1.bb              |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta-gnome/recipes-gnome/gnome-panel/gnome-panel_2.32.1.bb b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel_2.32.1.bb
index 78a6d47..4a07378 100644
--- a/meta-gnome/recipes-gnome/gnome-panel/gnome-panel_2.32.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel_2.32.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
 SECTION = "x11/gnome"
 
-PR = "r4"
+PR = "r5"
 
 DEPENDS = "gnome-doc-utils-native gconf glib-2.0 gnome-desktop gtk+ pango libwnck gnome-menus cairo libgweather dbus-glib librsvg libcanberra" 
 
@@ -26,8 +26,11 @@ do_configure_prepend() {
 }
 
 pkg_postinst_append () {
-	gconftool-2 --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults \
-		--direct --load /etc/gconf/schemas/panel-default-setup.entries
+if [ -n "$D" ]; then
+	exit 1
+fi
+	gconftool-2 --config-source=xml:readwrite:${sysconfdir}/gconf/gconf.xml.defaults \
+		--direct --load ${sysconfdir}/gconf/schemas/panel-default-setup.entries
 }
 
 PACKAGES =+ "libpanel-applet"





More information about the Openembedded-commits mailing list