aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-openivi
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-12-02 16:33:08 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2016-12-02 16:33:08 +0100
commit7049a1ceb277f8fbadae2f52362e9e23367db3b8 (patch)
tree10b831b5e4b18eec49b24200b7554623853c6824 /recipes-openivi
parenta2d63e7f6b3f98487ce89591a806ce6315bc14dc (diff)
Fix openivi-html5 startup script
HOMESCREEN is a URI, not a file Change-Id: Id2a96f86581273f4c706e3ae39779bed56e55b9e Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'recipes-openivi')
-rw-r--r--recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh2
1 files changed, 1 insertions, 1 deletions
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