From 009d6d493ea48669af9b6df491bc4bebedb2f13c Mon Sep 17 00:00:00 2001 From: kekePower Date: Tue, 7 Nov 2017 00:17:56 +0100 Subject: 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 --- tools/Linux/kodi.sh.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/Linux/kodi.sh.in') 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} -- cgit v1.2.3