gnome-panel: append pkg_postinst only on PN

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2013-02-04 22:00:57 +01:00
parent 451c5cd710
commit 5409367b79
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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