Package: cron-apt Version: 0.4.7 Severity: minor
The default config contains commmented out defaults EXCEPT for the option "DIFFONCHANGES": $ sed -e'/^$/d' -e'/^#/d' cron-apt-0.4.7/conf/config DIFFONCHANGES=prepend It would be neater to have a default configured in cron-apt-0.4.7/src/cron-apt and comment out the option in cron-apt-0.4.7/conf/config leaving it as an example. I know this is not important... buut thought I'd mention it anyway... If I can work out how to use report but a patch is attached... if I can't I'll end the patch to the BTS later! Alex Owen -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages cron-apt depends on: ii apt 0.6.44.2 Advanced front-end for dpkg ii debianutils 2.16.1 Miscellaneous utilities specific t Versions of packages cron-apt recommends: ii liblockfile1 1.06.1 NFS-safe locking library, includes ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent -- no debconf information
diff -ur cron-apt-0.4.7.orig/conf/config cron-apt-0.4.7/conf/config --- cron-apt-0.4.7.orig/conf/config 2006-03-05 19:09:17.000000000 +0000 +++ cron-apt-0.4.7/conf/config 2006-07-10 16:59:57.000000000 +0100 @@ -122,7 +122,7 @@ # append (append to the output) # only (only show the diff, not the output itself) # (else do nothing) -DIFFONCHANGES=prepend +# DIFFONCHANGES=prepend # General apt options that will be passed to all APTCOMMAND calls. # Use "-o quiet" instead of "-q" for aptitude compatibility. diff -ur cron-apt-0.4.7.orig/src/cron-apt cron-apt-0.4.7/src/cron-apt --- cron-apt-0.4.7.orig/src/cron-apt 2006-04-30 17:21:27.000000000 +0100 +++ cron-apt-0.4.7/src/cron-apt 2006-07-10 16:59:21.000000000 +0100 @@ -197,6 +197,12 @@ # Ignore lines matching this regexp to determine whether changes occurred # for MAILON="changes". DIFFIGNORE="" +# What to do with the diff when *ON=changes. +# Value: prepend (prepend to the output) +# append (append to the output) +# only (only show the diff, not the output itself) +# (else do nothing) +DIFFONCHANGES=prepend export DEBIAN_FRONTEND="noninteractive" export LANG="C"