Closed lucasmontec closed 9 months ago
I have fixed the script with /opt/rustdesk/hbbr --version | sed -r 's/hbbr (.*).*/\1/'
I have also added curl https://api.github.com/repos/rustdesk/rustdesk-server/releases/latest -s | grep "tag_name"| awk '{print substr($2, 2, length($2)-3) }'
These lines are throwing an exception when trying to run:
I have printed the variables and their value are: $RDLATEST = 1.1.8 $RDCURRENT = hbbr 1.1.8
I have written a fix: