]> git.saurik.com Git - apt.git/commitdiff
debian/apt.cron.daily: Make sure that VERBOSE is always set
authorJulian Andres Klode <jak@debian.org>
Thu, 6 Aug 2009 10:12:20 +0000 (12:12 +0200)
committerJulian Andres Klode <jak@debian.org>
Thu, 6 Aug 2009 10:12:20 +0000 (12:12 +0200)
before accessing it (Closes: #539366)

debian/apt.cron.daily
debian/changelog

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"
index 59d9a0b27400558396b30a1ac54f90745713daa9..377cc6b57fe6b409ce87ccbcac1a6152356a0167 100644 (file)
@@ -1,3 +1,10 @@
+apt (0.7.22.2) unstable; urgency=low
+
+  * debian/apt.cron.daily: Make sure that VERBOSE is always set
+    before accessing it (Closes: #539366)
+
+ -- Julian Andres Klode <jak@debian.org>  Thu, 06 Aug 2009 12:07:55 +0200
+
 apt (0.7.22.1) unstable; urgency=low
 
   [ Michael Vogt ]