From d6f2cd7e0331ad2508c62b5d2d125e714baff4e2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 2 Aug 2012 21:28:58 +0000 Subject: gnome-desktop: Fix python location on recent distros This fixes errors on distros with python as /bin/python of the form: | error: Failed dependencies: | /bin/python is needed by gnome-desktop-2.32.1-r5.i586 (From OE-Core rev: 02c5299cf6f1c347e2653409b32be8fd39876ac9) Signed-off-by: Richard Purdie --- meta/recipes-gnome/gnome/gnome-desktop.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/recipes-gnome/gnome/gnome-desktop.inc b/meta/recipes-gnome/gnome/gnome-desktop.inc index 51933b2..4687a7b 100644 --- a/meta/recipes-gnome/gnome/gnome-desktop.inc +++ b/meta/recipes-gnome/gnome/gnome-desktop.inc @@ -11,12 +11,13 @@ do_configure_prepend () { FILES_${PN} += "${datadir}/gnome-about ${datadir}/libgnome-desktop/pnp.ids" -PR = "r5" +PR = "r6" inherit gnome pkgconfig do_install_append () { sed -i -e's,${STAGING_BINDIR_NATIVE},${bindir},g' ${D}${bindir}/gnome-about + sed -i -e '1s,#!.*python,#! ${USRBINPATH}/env python,' ${D}${bindir}/gnome-about } -- cgit v1.1