mirror of
https://github.com/techahold/rustdeskinstall.git
synced 2025-05-12 15:11:11 +02:00
Update update.sh
This commit is contained in:
parent
3561c02956
commit
7e5c0fcdec
@ -4,7 +4,7 @@
|
||||
uname=$(whoami) # not used btw .. yet
|
||||
|
||||
# Get current release version
|
||||
RDLATEST=$(curl https://api.github.com/repos/rustdesk/rustdesk-server/releases/latest -s | grep "tag_name"| awk '{print substr($2, 2, length($2)-3) }')
|
||||
RDLATEST=$(curl https://api.github.com/repos/rustdesk/rustdesk-server/releases/latest -s | grep "tag_name" | awk -F'"' '{print $4}')
|
||||
RDCURRENT=$(/opt/rustdesk/hbbr --version | sed -r 's/hbbr (.*)/\1/')
|
||||
|
||||
if [ $RDLATEST == $RDCURRENT ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user