mirror of
https://github.com/techahold/rustdeskinstall.git
synced 2025-12-21 16:11:15 +01:00
Merge pull request #44 from skydiablo/patch-2
Update linuxclientinstall.sh
This commit is contained in:
@@ -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
|
wget https://github.com/rustdesk/rustdesk/releases/download/$lversion/rustdesk-$lversion-x86_64.deb
|
||||||
sudo apt install -fy ./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
|
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
|
wget https://github.com/rustdesk/rustdesk/releases/download/$lversion/rustdesk-$lversion-0.x86_64.rpm
|
||||||
sudo yum localinstall ./rustdesk-$lversion-0.x86_64-fedora28-centos8.rpm
|
sudo yum localinstall ./rustdesk-$lversion-0.x86_64.rpm
|
||||||
else
|
else
|
||||||
echo "Unsupported OS"
|
echo "Unsupported OS"
|
||||||
# here you could ask the user for permission to try and install anyway
|
# here you could ask the user for permission to try and install anyway
|
||||||
|
|||||||
Reference in New Issue
Block a user