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

login
register
mail settings
Submitter Martin Jansa
Date Feb. 4, 2013, 10:53 p.m.
Message ID <1360018408-29809-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/44047/
State Accepted
Commit 5409367b79d6cd6b587cf141cae40cc3819fb5d4
Headers show

Comments

Martin Jansa - Feb. 4, 2013, 10:53 p.m.
---
 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(-)

Patch

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