Update update.sh
This commit is contained in:
parent
d48584cf3b
commit
cb43f6f667
@ -4,7 +4,7 @@
|
||||
usern=$(whoami) # not used btw ... yet
|
||||
|
||||
# Get current release version
|
||||
RDLATEST=$(curl https://api.github.com/repos/rustdesk/rustdesk-server-pro/releases/latest -s | grep "tag_name"| awk '{print substr($2, 2, length($2)-3) }' | sed 's/-.*//')
|
||||
RDLATEST=$(curl https://api.github.com/repos/rustdesk/rustdesk-server-pro/releases/latest -s | grep "tag_name"| awk '{print substr($2, 2, length($2)-3) }')
|
||||
RDCURRENT=$(/usr/bin/hbbr --version | sed -r 's/hbbr (.*)/\1/')
|
||||
|
||||
if [ $RDLATEST == $RDCURRENT ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user