Syntax error in installation script
polyrainbow opened this issue · comments
Compatible OS
- I'm running Raspotify on a compatible OS
Latest Version
- I'm running the latest version of Raspotify
Due Diligence
- I have done my due diligence
What happened?
The installation of Raspotify via install.sh
fails due to a syntax error. This was still working a few days ago, so I suspect a regression.
Relevant log output
$ curl -sL https://dtcooper.github.io/raspotify/install.sh | sh
sh: 60: Syntax error: "(" unexpected (expecting "then")
Run the following instructions (Use bash instead of sh)
sudo apt-get install apt-transport-https
curl -sL https://dtcooper.github.io/raspotify/install.sh | bash
Also note that support for Raspotify on Buster has been dropped. You need to run it on Bullseye.
Already raised in issue 517 See #517
Thanks! It works now. Btw, I did run this on Bullseye in the first place and had the syntax error there.
Glad it is working. I have left a comment in #517 that the page at https://github.com/dtcooper/raspotify/ ought to be updated with the corrected installation instructions.