diff --git a/scripts/update.sh b/scripts/update.sh index b7e850b..a6795be 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -20,9 +20,9 @@ nqiecho() { nqwget() { [ -n "${quiet}" ] && { - wget -q $* >/dev/null 2>&1 + wget -q --progress=dot:giga $* >/dev/null 2>&1 } || { - wget $* + wget --progress=dot:giga $* } } diff --git a/scripts/update_binaries.sh b/scripts/update_binaries.sh index 6a71974..dcbbb11 100755 --- a/scripts/update_binaries.sh +++ b/scripts/update_binaries.sh @@ -31,7 +31,7 @@ binary=`uname -m` # Download nquake.ini mkdir tmp cd tmp -wget --inet4-only -q -O nquake.ini https://raw.githubusercontent.com/nQuake/client-win32/master/etc/nquake.ini +wget --progress=dot:giga --inet4-only -q -O nquake.ini https://raw.githubusercontent.com/nQuake/client-win32/master/etc/nquake.ini if [ -s "nquake.ini" ] then echo foo >> /dev/null @@ -69,9 +69,9 @@ echo echo "=== Downloading ===" if [ "$binary" == "x86_64" ] then - wget --inet4-only -O sv-bin-x64.zip $mirror/sv-bin-x64.zip + wget --progress=dot:giga --inet4-only -O sv-bin-x64.zip $mirror/sv-bin-x64.zip else - wget --inet4-only -O sv-bin-x86.zip $mirror/sv-bin-x86.zip + wget --progress=dot:giga --inet4-only -O sv-bin-x86.zip $mirror/sv-bin-x86.zip fi # Terminate installation if not all packages were downloaded diff --git a/scripts/update_configs.sh b/scripts/update_configs.sh index 0628073..1760b36 100755 --- a/scripts/update_configs.sh +++ b/scripts/update_configs.sh @@ -24,7 +24,7 @@ echo # Download nquake.ini mkdir tmp cd tmp -wget --inet4-only -q -O nquake.ini https://raw.githubusercontent.com/nQuake/client-win32/master/etc/nquake.ini +wget --progress=dot:giga --inet4-only -q -O nquake.ini https://raw.githubusercontent.com/nQuake/client-win32/master/etc/nquake.ini if [ -s "nquake.ini" ] then echo foo >> /dev/null @@ -61,7 +61,7 @@ echo # Download maps echo "=== Downloading ===" -wget --inet4-only -O sv-configs.zip $mirror/sv-configs.zip +wget --progress=dot:giga --inet4-only -O sv-configs.zip $mirror/sv-configs.zip # Terminate installation if not all packages were downloaded if [ -s "sv-configs.zip" ] diff --git a/scripts/update_maps.sh b/scripts/update_maps.sh index 9a197bd..670c573 100755 --- a/scripts/update_maps.sh +++ b/scripts/update_maps.sh @@ -24,7 +24,7 @@ echo # Download nquake.ini mkdir -p tmp cd tmp -wget --inet4-only -q -O nquake.ini https://raw.githubusercontent.com/nQuake/client-win32/master/etc/nquake.ini +wget --progress=dot:giga --inet4-only -q -O nquake.ini https://raw.githubusercontent.com/nQuake/client-win32/master/etc/nquake.ini if [ -s "nquake.ini" ] then echo foo >> /dev/null @@ -61,12 +61,12 @@ echo # Download maps echo "=== Downloading ===" -wget --inet4-only -O sv-maps.zip $mirror/sv-maps.zip +wget --progress=dot:giga --inet4-only -O sv-maps.zip $mirror/sv-maps.zip if [ -s "sv-maps.zip" ] then if [ "$(du sv-maps.zip | cut -f1)" \> "0" ] then - wget --inet4-only -O sv-maps-gpl.zip $mirror/sv-maps-gpl.zip + wget --progress=dot:giga --inet4-only -O sv-maps-gpl.zip $mirror/sv-maps-gpl.zip fi fi @@ -96,7 +96,7 @@ echo -n "* Extracting GPL maps..." unzip -qqo sv-maps-gpl.zip 2> /dev/null;echo "done" echo -n "* Downloading core maps..." -wget -P qw/maps -r --no-parent -N -nd -A "*.bsp" -A "*.ent" https://maps.quakeworld.nu/core/ +wget --progress=dot:giga -P qw/maps -r --no-parent -N -nd -A "*.bsp" -A "*.ent" https://maps.quakeworld.nu/core/ echo -n "* Setting permissions..." chmod 644 qw/maps/* 2> /dev/null diff --git a/src/install_nquakesv.sh b/src/install_nquakesv.sh index e9ff927..f790246 100755 --- a/src/install_nquakesv.sh +++ b/src/install_nquakesv.sh @@ -182,9 +182,9 @@ nqiecho() { nqwget() { [ -n "${quiet}" ] && { - wget -q $* >/dev/null 2>&1 + wget -q --progress=dot:giga $* >/dev/null 2>&1 } || { - wget $* + wget --progress=dot:giga $* } }