control: tags -1 +patch

On Wed, 21 Mar 2018 18:15:06 +0900 Hideki Yamane <henr...@iijmio-mail.jp> wrote:
>  Then, how about to change it to "-nv" (no-verbose) option?

 Here's a proposed patch.


diff --git a/functions b/functions
index bb7dae1..a4651ef 100644
--- a/functions
+++ b/functions
@@ -74,13 +74,13 @@ progress_next () {
 }
 
 wgetprogress () {
-       [ ! "$VERBOSE" ] && QSWITCH="-q"
+       [ ! "$VERBOSE" ] && NVSWITCH="-nv"
        local ret=0
        if [ "$USE_DEBIANINSTALLER_INTERACTION" ] && [ "$PROGRESS_NEXT" ]; then
                wget "$@" 2>&1 >/dev/null | $PKGDETAILS "WGET%" $PROGRESS_NOW 
$PROGRESS_NEXT $PROGRESS_END >&3
                ret=$?
        else
-               wget $QSWITCH "$@" 
+               wget $NVSWITCH "$@"
                ret=$?
        fi
        return $ret

Reply via email to