From: Anton Gerasimov Date: Fri, 2 Dec 2016 15:33:08 +0000 (+0100) Subject: Fix openivi-html5 startup script X-Git-Tag: 3.0.0~76 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=7049a1ceb277f8fbadae2f52362e9e23367db3b8;p=AGL%2Fmeta-agl-demo.git Fix openivi-html5 startup script HOMESCREEN is a URI, not a file Change-Id: Id2a96f86581273f4c706e3ae39779bed56e55b9e Signed-off-by: Anton Gerasimov --- diff --git a/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh b/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh index b62255140..3a43b40d9 100644 --- a/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh +++ b/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh @@ -17,7 +17,7 @@ HOMESCREEN=/usr/share/openivi/example/cluster/index.html HOMESCREEN_CONFIG=$XDG_CONFIG_DIRS/openivi-html5/openivi-html5.ini if [ -e "$HOMESCREEN_CONFIG" ] ; then HTML=`sed -n '/^homescreen=\(.*\)$/s//\1/p' < $HOMESCREEN_CONFIG` - if [ -e "$HTML" ] ; then + if [ -n "$HTML" ] ; then HOMESCREEN=$HTML fi fi