Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanwahab committed Oct 12, 2024
1 parent c9e9cbe commit f3e59aa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions infra/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ setup_jetson_containers() {
}

install_rustdesk() {
if ! command_exists rustdesk; then
echo "Installing RustDesk..."
wget https://github.com/rustdesk/rustdesk/releases/download/1.1.9/rustdesk-1.1.9-x86_64.deb
sudo dpkg -i rustdesk-1.1.9-x86_64.deb
sudo apt --fix-broken install -y
rm rustdesk-1.1.9-x86_64.deb
else
echo "RustDesk already installed."
fi
# if ! command_exists rustdesk; then
# echo "Installing RustDesk..."
# wget https://github.com/rustdesk/rustdesk/releases/download/1.1.9/rustdesk-1.1.9-x86_64.deb
# sudo dpkg -i rustdesk-1.1.9-x86_64.deb
# sudo apt --fix-broken install -y
# rm rustdesk-1.1.9-x86_64.deb
# else
# echo "RustDesk already installed."
# fi
}

install_tailscale() {
Expand Down Expand Up @@ -154,4 +154,4 @@ main_install() {
echo "Installation complete. Please reboot your system."
}

main_install 2>&1 | tee -a "$LOG_FILE"
main_install 2>&1 | tee -a "$LOG_FILE"

0 comments on commit f3e59aa

Please sign in to comment.