From f03b32d6214fe9ec3df09fa2f41f217d015826c7 Mon Sep 17 00:00:00 2001 From: Mahdi Hasnat Siyam <44502454+mahdihasnat@users.noreply.github.com> Date: Sat, 21 Sep 2024 18:22:24 +0600 Subject: [PATCH] Use wget instead of curl in several installers (#14) --- scripts/azuredatastudio.sh | 2 +- scripts/insomnia.sh | 3 +-- scripts/minikube.sh | 4 ++-- scripts/rider.sh | 5 ++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/scripts/azuredatastudio.sh b/scripts/azuredatastudio.sh index 950e556..fee488a 100755 --- a/scripts/azuredatastudio.sh +++ b/scripts/azuredatastudio.sh @@ -6,7 +6,7 @@ echo "\nInstalling Azure Data Studio ...\n" apt-get install -y libunwind8 -curl -L -o azuredatastudio.deb https://azuredatastudio-update.azurewebsites.net/latest/linux-deb-x64/stable +wget -O azuredatastudio.deb https://azuredatastudio-update.azurewebsites.net/latest/linux-deb-x64/stable sudo dpkg -i azuredatastudio.deb diff --git a/scripts/insomnia.sh b/scripts/insomnia.sh index 912d879..5d72927 100755 --- a/scripts/insomnia.sh +++ b/scripts/insomnia.sh @@ -5,8 +5,7 @@ set -eux echo "\nInstalling Insomnia ...\n" # Add to sources -curl -1sLf \ - 'https://packages.konghq.com/public/insomnia/setup.deb.sh' \ +wget -qO- 'https://packages.konghq.com/public/insomnia/setup.deb.sh' \ | sudo -E distro=ubuntu codename=focal bash # Refresh repository sources and install Insomnia diff --git a/scripts/minikube.sh b/scripts/minikube.sh index 1413051..406cd5d 100755 --- a/scripts/minikube.sh +++ b/scripts/minikube.sh @@ -3,6 +3,6 @@ set -eux echo "\nInstalling Minikube ...\n" -curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb -sudo dpkg -i minikube_latest_amd64.deb +wget https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb +apt-get -y install ./minikube_latest_amd64.deb rm minikube_latest_amd64.deb diff --git a/scripts/rider.sh b/scripts/rider.sh index 70209ce..70f2c9c 100755 --- a/scripts/rider.sh +++ b/scripts/rider.sh @@ -5,9 +5,8 @@ set -eux RIDER_VERSION='2023.3.2' echo "\nInstalling Rider $RIDER_VERSION ...\n" -# download using curl -curl -LO "https://download.jetbrains.com/rider/JetBrains.Rider-$RIDER_VERSION.tar.gz" - +# download using wget +wget "https://download.jetbrains.com/rider/JetBrains.Rider-$RIDER_VERSION.tar.gz" # download sha256sum file and verify the checksum wget "https://download.jetbrains.com/rider/JetBrains.Rider-$RIDER_VERSION.tar.gz.sha256" -O expected_sha256sum.txt