Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rustdesk authored Aug 18, 2024
1 parent 4f46a53 commit 40855c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 40855c6

Please sign in to comment.