mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 16:40:03 +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
|
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 \
|
gconftool-2 --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults \
|
||||||
--direct --load /etc/gconf/schemas/panel-default-setup.entries
|
--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
|
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
|
if [ -n "$D" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user