From 40855c65a35f52b2e293ad52f276b2420b43e515 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Sun, 18 Aug 2024 21:37:23 +0800 Subject: [PATCH] Update install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 85f689e..02f84ab 100644 --- a/install.sh +++ b/install.sh @@ -181,7 +181,7 @@ This might be temporary, so please try to run the installation script again." exit 1 fi # Extract, move in place, and make it executable - tar -xf rustdesk-server-linux-"${ACTUAL_TAR_NAME}".tar.gz + tar -xf rustdesk-server-linux-"${ACTUAL_TAR_NAME}""${TLS}".tar.gz # Set permissions if [ -n "$RUSTDESK_USER" ] then @@ -198,7 +198,7 @@ This might be temporary, so please try to run the installation script again." mv "${ACTUAL_TAR_NAME}"/hbbs /usr/bin/ mv "${ACTUAL_TAR_NAME}"/rustdesk-utils /usr/bin/ rm -rf "$RUSTDESK_INSTALL_DIR"/"${ACTUAL_TAR_NAME:?}" - rm -rf rustdesk-server-linux-"${ACTUAL_TAR_NAME}".tar.gz + rm -rf rustdesk-server-linux-"${ACTUAL_TAR_NAME}""${TLS}".tar.gz chmod +x /usr/bin/hbbs chmod +x /usr/bin/hbbr chmod +x /usr/bin/rustdesk-utils