From 9f6983294c256d25050af2e8617f6337f3a1cb23 Mon Sep 17 00:00:00 2001 From: Johannes Sinander Date: Sat, 19 Feb 2022 09:26:25 +0100 Subject: [PATCH] Install steamlink if it NOT found by the which-command --- plugin.program.steamlink/addon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.program.steamlink/addon.py b/plugin.program.steamlink/addon.py index 484251d..e19c672 100644 --- a/plugin.program.steamlink/addon.py +++ b/plugin.program.steamlink/addon.py @@ -52,7 +52,7 @@ def create_files(): kodi-send --action="Notification(Downloading and installing Steamlink depenancies (libgl1-mesa-dri)... ,3000)" sudo apt install libgl1-mesa-dri -y fi -if [ ! "$(which steamlink)" = "" ]; then +if [ "$(which steamlink)" = "" ]; then kodi-send --action="Notification(Downloading and installing Steamlink Application... ,3000)" curl -o /tmp/steamlink.deb -#Of http://media.steampowered.com/steamlink/rpi/latest/steamlink.deb sudo dpkg -i /tmp/steamlink.deb