Closed Yunaido closed 4 years ago
Hmmm, have to check this. Looks like a bug indeed...
I got the same bug with the most recent version, but not on 8c0041a645e698ce23b4dc9d0614fec8fea662f8, so some change since then breaks the config.
To get 8c0041a645e698ce23b4dc9d0614fec8fea662f8 to work on version 3.7.0 I had to re-instate this line: https://github.com/SBFspot/sbfspot-config/blob/85ff3c94b60172d9b8a8d4740e8e42e8f38fb208/sbfspot-config#L822
I think this is the culprit line, contains()
seems to be returning 1 innapropriately: https://github.com/SBFspot/sbfspot-config/blob/85ff3c94b60172d9b8a8d4740e8e42e8f38fb208/sbfspot-config#L2393
Hope this is helpful @sbf-
I have created a working fork of 8c0041a until this is patched:
https://github.com/HarvsG/sbfspot-config
To install the latest SBFspot release:
curl -s https://raw.githubusercontent.com/HarvsG/sbfspot-config/master/sbfspot-config | sudo bash
To install a specific SBFspot release (e.g. 3.5.0):
curl -s https://raw.githubusercontent.com/HarvsG/sbfspot-config/master/sbfspot-config | sudo bash -s 3.5.0
I think this is the culprit line,
contains()
seems to be returning 1 innapropriately:Hope this is helpful @sbf-
Sure, should be not contains
-- don't know why it worked before
After a fresh install of Raspberry Pi OS Lite on my RaspberryPi 3b+ , I tried to install SBFspot via the sbfspot-config file. When I do so I get this error message:
So I requested version 3.7.0, but version 3.7.0 is not available, and i should choose version 3.7.0 . Is there anything I don't get or is this a bug?
What I did:
ssh pi@192.168.xxx.xx
with standard passwordcurl -s https://raw.githubusercontent.com/sbfspot/sbfspot-config/master/sbfspot-config | sudo bash -s 3.7.0
PS: I tried it even with version 3.6.0