Fix openivi-html5 startup script 03/7403/1
authorAnton Gerasimov <anton@advancedtelematic.com>
Fri, 2 Dec 2016 15:33:08 +0000 (16:33 +0100)
committerAnton Gerasimov <anton@advancedtelematic.com>
Fri, 2 Dec 2016 15:33:08 +0000 (16:33 +0100)
HOMESCREEN is a URI, not a file

Change-Id: Id2a96f86581273f4c706e3ae39779bed56e55b9e
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh

index b622551..3a43b40 100644 (file)
@@ -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