LibreELEC 10.0.2 install of Argon ONE V2 software?

I installed LibreELEC 10.0.2 on Raspberry Pi 4 with an Argon ONE v2 case. I want to install the Argon ONE power button / fan control software.
I execute the script the manual refers to (for Raspbian, which LibreELEC isn’t but is based on)

curl https://download.argon40.com/argon1.sh | bash

and get

curl https://download.argon40.com/argon1.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0bash: syntax error: unexpected "(" (expecting "fi")
 75 21361   75 15997    0     0   6883      0  0:00:03  0:00:02  0:00:01  6886
curl: (23) Failure writing output to destination

Is there some other way of installing this for LibreELEC-Rasp4 ?

That kind of looks like the curl transfer failed, I tried it (don’t have a argon1 case, so I simply transfered the file over, and I get the following output:

curl https://download.argon40.com/argon1.sh > argon1.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21361  100 21361    0     0  22772      0 --:--:-- --:--:-- --:--:-- 22748

Looks to me like the curl command failed near the end, then bash attempted to execute the code.

Are you out of space?

I have this same issue on an M2 case… lots of space on the 120GB M2 SSD

Nope, not out of space. Found from web trawling that for Libreelec the script is apparently

https://download.argon40.com/argonone-setup-libreelec.sh

which does install properly, not that what it installs will run, but that’s a separate issue. If only Argon40 would document it.
Thanks

Just tried that, but it evidently no longer exists, returning a 404 error.

Must be a typo. Just tried this and it exists
https://download.argon40.com/argonone-setup-libreelec.sh

That worked! Thanks!

Thanks, this worked for me as well running this…

curl https://download.argon40.com/argonone-setup-libreelec.sh| bash