Skip to content

Commit

Permalink
Use wget instead of curl in several installers (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdihasnat committed Nov 7, 2024
1 parent 400ec1b commit f03b32d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scripts/azuredatastudio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
3 changes: 1 addition & 2 deletions scripts/insomnia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/minikube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 2 additions & 3 deletions scripts/rider.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f03b32d

Please sign in to comment.