Skip to content

Commit

Permalink
encapsulating repo add and dependency installation within architectur…
Browse files Browse the repository at this point in the history
…e identification
  • Loading branch information
carefreepineapple committed Aug 10, 2023
1 parent 8deb987 commit 94fb5b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions linuxclientinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ if [ "$OS" = "Ubuntu" ] || [ "${UPSTREAM_ID}" = "ubuntu" ]; then
echo "Unsupported Architecture"
exit 1
fi
sudo add-apt-repository -y universe
sudo apt install -y libxdo3 curl libva-drm2 libva-x11-2
if [ "$architecture" = "aarch64" ]; then
sudo add-apt-repository -y universe
sudo apt install -y libxdo3 curl libva-drm2 libva-x11-2
fi
wget https://github.com/rustdesk/rustdesk/releases/download/$lversion/rustdesk-$lversion-$architecture.deb
sudo apt install -fy ./rustdesk-$lversion-$architecture.deb
elif [ "${ID}" = "debian" ] || [ "$OS" = "Debian" ] || [ "${UPSTREAM_ID}" = "debian" ]; then
Expand Down

0 comments on commit 94fb5b1

Please sign in to comment.