mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
- cached_downloader did not correctly honor VERBOSE >= 2
This commit is contained in:
parent
48fa79345a
commit
d7aae0ffb3
1 changed files with 2 additions and 2 deletions
|
@ -482,7 +482,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
rm -f $CACHEDIR/$CACHEFILE $CACHEDIR/$CACHEFILE.head 2>/dev/null
|
||||
fi
|
||||
echo -n " Downloading... "
|
||||
[ $VERBOSE -gt 1 ]&&echo
|
||||
[[ "$WGETOPTS $FLAG" =~ -q ]]||echo
|
||||
$CACHEDOWNLOADER $1 $SRCURL
|
||||
ERR=$?
|
||||
echo
|
||||
|
@ -1976,7 +1976,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
FLAG=""
|
||||
if [ "$CMD" = "update" ];then
|
||||
[ $VERBOSE -lt 2 ]&&FLAG="-nv"
|
||||
[ "$CACHEUPDATE" = "on" ]&&FLAG="-q"
|
||||
[ $VERBOSE -lt 2 ]&&[ "$CACHEUPDATE" = "on" ]&&FLAG="-q"
|
||||
else
|
||||
[ $VERBOSE -lt 1 ]&&FLAG="-nv"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue