mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-06 03:10:01 +00:00
gnome-panel: append pkg_postinst only on PN
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user