5iver / openHAB-utils

Utilities for use with openHAB
15 stars 7 forks source link

Syntax issues #8

Open jogethome opened 3 years ago

jogethome commented 3 years ago

Hi on my openhab image running on Raspberry 4 I had a couple of issues when running the script. 1st in line 56 and 57 there is a space missing -> syntax error before the starting comments "lower case / title case"

2nd Referring to the specs of Bash If statements the logical operator for equal "=" should be "==" when using the syntax "[[", when using "test" the single "=" can be used, I had the impression of wrong interpretations when the statement is intrepreting the curl results

3rd which is most probably an openhab issue, I'm still always running in the timeout when waiting for the openhab curl response, I've for now no idea how the installation of the newly downloaded jar is finally in openhab done

Regards Georg