On 4 July 2013 11:58, Laurentiu Palcu <laurentiu.pa...@intel.com> wrote:
> +    sed -i $D${datadir}/applications/shutdown.desktop -e 
> 's#^Exec=\(.*\)#Exec=${base_sbindir}/\1#'

Doing this in postinst is pretty nasty, instead change the desktop
file to contain something like @SBIN@ and run it through sed in
do_install.

Ross
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to