Update update.sh

This commit is contained in:
dinger1986 2023-01-31 13:11:33 +00:00 committed by GitHub
parent 7a6499aa5e
commit a8f86e2707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ sudo systemctl stop gohttpserver.service
sudo systemctl stop rustdesksignal.service
sudo systemctl stop rustdeskrelay.service
ARCH=$(uname -m)
# identify OS
if [ -f /etc/os-release ]; then
@ -94,9 +95,6 @@ fi
cd /opt/rustdesk/
rm hbbs
rm hbbs
RDLATEST=$(curl https://api.github.com/repos/rustdesk/rustdesk-server/releases/latest -s | grep "tag_name"| awk '{print substr($2, 2, length($2)-3) }')
echo "Upgrading Rustdesk Server"