Don't use wget --show-progress if it's not available

This commit is contained in:
TheElectronWill 2018-02-03 13:32:29 +01:00
parent 93ba3d8796
commit 0bcdb8a675
2 changed files with 4 additions and 1 deletions

View file

@ -50,7 +50,7 @@ fi
# Downloads the discord tar.gz archive and puts its name in the global variable archive_name.
download_discord() {
echo "Downloading $app_name for linux..."
wget -q --show-progress --content-disposition "${download_url}?platform=linux&format=tar.gz"
wget $wget_progress --content-disposition "${download_url}?platform=linux&format=tar.gz"
archive_name="$(ls *.tar.gz)"
}