Package: awstats
Version: 7.0~dfsg-6
Severity: minor

Dear Maintainer,

When there's an error while precessing a config file, update.sh does not tell 
the 
name of the config file that failed, which makes it hard to identify problems. 

Here's a one liner patch to fix that.

Regards,
Laurent

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-xenU-6434-x86_64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages awstats depends on:
ii  perl  5.12.4-6

Versions of packages awstats recommends:
ii  coreutils           8.13-3
ii  libnet-xwhois-perl  0.90-3

Versions of packages awstats suggests:
ii  apache2                      2.2.22-5
ii  apache2-mpm-prefork [httpd]  2.2.22-5
ii  libgeo-ipfree-perl           1.112870-1
ii  libnet-dns-perl              0.66-2+b1
ii  libnet-ip-perl               1.25-3
ii  liburi-perl                  1.59-1

-- Configuration Files:
/etc/awstats/awstats.conf changed [not included]
/etc/awstats/awstats.conf.local changed [not included]

-- no debconf information
--- /tmp/update.sh.orig	2012-05-30 10:56:40.000000000 +0000
+++ /usr/share/awstats/tools/update.sh	2012-05-30 10:57:27.000000000 +0000
@@ -29,6 +29,7 @@
 	  -config=$c \
 	  -update >$ERRFILE 2>&1
   then
+    echo "Error in $c" >&2
     cat $ERRFILE >&2 # an error occurred
   fi
 done

Reply via email to