[oe] [PATCH][meta-gnome][meta-efl 1/2] gnome-panel: append pkg_postinst only on PN

Martin Jansa martin.jansa at gmail.com
Mon Feb 4 22:53:27 UTC 2013


---
 meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb | 2 +-
 meta-gnome/recipes-gnome/gnome-panel/gnome-panel_2.32.1.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb
index 3aadd2b..13614a0 100644
--- a/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb
@@ -31,7 +31,7 @@ do_configure_prepend() {
 	sed -i -e s:help:: ${S}/Makefile.am
 }
 
-pkg_postinst_append () {
+pkg_postinst_${PN}_append () {
 	gconftool-2 --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults \
 		--direct --load /etc/gconf/schemas/panel-default-setup.entries
 }
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 3bf7f29..e54579d 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
@@ -26,7 +26,7 @@ do_configure_prepend() {
 	sed -i -e s:^#!@PYTHON@:#!/usr/bin/python: ${S}/gnome-panel/gnome-panel-add.in
 }
 
-pkg_postinst_append () {
+pkg_postinst_${PN}_append () {
 if [ -n "$D" ]; then
 	exit 1
 fi
-- 
1.8.1.2





More information about the Openembedded-devel mailing list