Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Follow redirects on curl downloads #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions functions/install_functions
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ function install_remote_package() {
i386|i486|i586|i686)
# Download 32 bit package
echo_message info "Downloading remote package '${2}_i386.deb' from '${3}'..."
curl -O ${3}/${2}_i386.deb
curl -sSLO ${3}/${2}_i386.deb
;;
x86_64)
# Download 64 bit package
echo_message info "Downloading remote package '${2}_amd64.deb' from '${3}'..."
curl -O ${3}/${2}_amd64.deb
curl -sSLO ${3}/${2}_amd64.deb
;;
*)
whiptail --title "Error." --msgbox "No remote packages available to download." 8 56
Expand Down Expand Up @@ -201,4 +201,4 @@ function install_snap_package() {
whiptail --title "Installed" --msgbox "${1} is already installed." 8 56
${3}
fi
}
}