[oe-commits] Martin Jansa : gnome-panel: append pkg_postinst only on PN
git at git.openembedded.org
git at git.openembedded.org
Tue Feb 5 10:08:06 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: 5409367b79d6cd6b587cf141cae40cc3819fb5d4
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=5409367b79d6cd6b587cf141cae40cc3819fb5d4
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Mon Feb 4 22:00:57 2013 +0100
gnome-panel: append pkg_postinst only on PN
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../gnome-panel/gnome-panel3_3.0.2.bb | 2 +-
.../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
More information about the Openembedded-commits
mailing list