aboutsummaryrefslogtreecommitdiff
path: root/tools/Linux/kodi.sh.in
diff options
context:
space:
mode:
authorkekePower <kekePower@users.noreply.github.com>2017-11-07 00:17:56 +0100
committerGitHub <noreply@github.com>2017-11-07 00:17:56 +0100
commit009d6d493ea48669af9b6df491bc4bebedb2f13c (patch)
tree6a60f0281153601534a53fd6c51e4a80b6b0ae90 /tools/Linux/kodi.sh.in
parent6c33c5c294ee7d7e2587751c9c918eeb7bd20b2c (diff)
Fix for PR#13004
After doing a little debugging, I found that KODI_BINARY=${APP_BINARY} was not caught at the current position. Copied it up to WINDOWING=auto. With this change, the Error message is displayed if kodi.bin or any other kodi* doesn't exist. Tested on Mageia 6 x86_64
Diffstat (limited to 'tools/Linux/kodi.sh.in')
-rw-r--r--tools/Linux/kodi.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/Linux/kodi.sh.in b/tools/Linux/kodi.sh.in
index 2d7497cf83..740cf60b27 100644
--- a/tools/Linux/kodi.sh.in
+++ b/tools/Linux/kodi.sh.in
@@ -68,6 +68,9 @@ if [ "$WINDOWING" = "auto" ]; then
# GBM/DRM
elif [ -z $DISPLAY ] && [ -z $WAYLAND_DISPLAY ] && [ -x $LIBDIR/${bin_name}/${bin_name}-gbm ]; then
KODI_BINARY=$LIBDIR/${bin_name}/${bin_name}-gbm
+ # Default kodi.bin
+ else
+ KODI_BINARY=${APP_BINARY}
fi
elif [ -n $WINDOWING ]; then
KODI_BINARY=$LIBDIR/${bin_name}/${bin_name}-${WINDOWING}