From 14e841cc80a9db3b4c85fae1169623a1057fab38 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Thu, 3 Nov 2022 22:49:31 +0800 Subject: [PATCH] rustdesk updated --- install/rustdesk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/install/rustdesk b/install/rustdesk index bb097ba..67dee81 100755 --- a/install/rustdesk +++ b/install/rustdesk @@ -10,6 +10,11 @@ echo # https://github.com/rustdesk/rustdesk -sudo apt install libxdo3 && \ - wget "http://github.com/rustdesk/rustdesk/releases/download/${RDVER}/rustdesk-${RDVER}.deb" -O ${HOME}/install/rustdesk_${RDVER}.deb && \ - sudo dpkg -i ${HOME}/install/rustdesk_${RDVER}.deb +deb_path="${HOME}/install" +deb_name="rustdesk_${RDVER}.deb" +mkdir -p $deb_path +deb="$deb_path/$deb_name" + +sudo apt install libxdo3 python3-pip && \ + wget "http://github.com/rustdesk/rustdesk/releases/download/${RDVER}/$deb_name" -O $deb && \ + sudo dpkg -i $deb