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 authored Sep 21, 2024
1 parent 01ff406 commit aca0eb8
Show file tree
Hide file tree
Showing 4 changed files with 5 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 @@ -5,7 +5,7 @@ echo "\nInstalling Azure Data Studio ...\n"

apt-get -o DPkg::Lock::Timeout=-1 -y install 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

apt-get -o DPkg::Lock::Timeout=-1 -y install ./azuredatastudio.deb

Expand Down
4 changes: 1 addition & 3 deletions scripts/insomnia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ 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

apt-get -o DPkg::Lock::Timeout=-1 -y update
apt-get -o DPkg::Lock::Timeout=-1 -y install insomnia
2 changes: 1 addition & 1 deletion scripts/minikube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
set -eux

echo "\nInstalling Minikube ...\n"
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
wget https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
apt-get -o DPkg::Lock::Timeout=-1 -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 @@ -4,9 +4,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 aca0eb8

Please sign in to comment.