Merge pull request #44 from skydiablo/patch-2

Update linuxclientinstall.sh
This commit is contained in:
dinger1986 2023-07-26 11:27:17 +01:00 committed by GitHub
commit 26a3e5ef9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ if [ "${ID}" = "debian" ] || [ "$OS" = "Ubuntu" ] || [ "$OS" = "Debian" ] || [
wget https://github.com/rustdesk/rustdesk/releases/download/$lversion/rustdesk-$lversion-x86_64.deb
sudo apt install -fy ./rustdesk-$lversion-x86_64.deb
elif [ "$OS" = "CentOS" ] || [ "$OS" = "RedHat" ] || [ "$OS" = "Fedora Linux" ] || [ "${UPSTREAM_ID}" = "rhel" ] ; then
wget https://github.com/rustdesk/rustdesk/releases/download/$lversion/rustdesk-$lversion-0.x86_64-fedora28-centos8.rpm
sudo yum localinstall ./rustdesk-$lversion-0.x86_64-fedora28-centos8.rpm
wget https://github.com/rustdesk/rustdesk/releases/download/$lversion/rustdesk-$lversion-0.x86_64.rpm
sudo yum localinstall ./rustdesk-$lversion-0.x86_64.rpm
else
echo "Unsupported OS"
# here you could ask the user for permission to try and install anyway