Skip to content

Commit

Permalink
Install steamlink if it NOT found by the which-command
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Sinander committed Feb 19, 2022
1 parent 1d83dd2 commit 9f69832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.program.steamlink/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f69832

Please sign in to comment.