]> git.saurik.com Git - apt.git/blobdiff - debian/apt.cron.daily
debian/apt.cron.daily: Make sure that VERBOSE is always set
[apt.git] / debian / apt.cron.daily
index 4f47ccfab76e955346180eebb7088bd6a84ed0c9..35ee5db6ce256f80c8ce814332e0df64fb127de1 100644 (file)
@@ -320,11 +320,9 @@ if ! which apt-config >/dev/null ; then
 fi
 
 # Set VERBOSE mode from  apt-config (or inherit from environment)
+VERBOSE=0
 eval $(apt-config shell VERBOSE APT::Periodic::Verbose)
 debug_echo "verbose level $VERBOSE"
-if [ -z "$VERBOSE" ]; then
-    VERBOSE="0"
-fi
 if [ "$VERBOSE" -le 2 ]; then
     # quiet for 0,1,2
     XSTDOUT=">/dev/null"