From 7049a1ceb277f8fbadae2f52362e9e23367db3b8 Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Fri, 2 Dec 2016 16:33:08 +0100 Subject: Fix openivi-html5 startup script HOMESCREEN is a URI, not a file Change-Id: Id2a96f86581273f4c706e3ae39779bed56e55b9e Signed-off-by: Anton Gerasimov --- recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg