From 5409367b79d6cd6b587cf141cae40cc3819fb5d4 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 4 Feb 2013 22:00:57 +0100 Subject: gnome-panel: append pkg_postinst only on PN Signed-off-by: Martin Jansa --- 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 -- cgit v1.1