Package: cron-apt
Version: 0.4.2
Severity: normal

Using the DIFFIGNORE configuration option in per-action config files (in 
/etc/cron-apt/config.d/) causes errors when cron-apt calls
the "diff" program. This occurs because the program only does the 
'DIFFIGNORE="--ignore-matching-lines=$DIFFIGNORE"' once, after the
main configuration file is read. If this option cannot be used in the 
per-action config files, that should be documented (perhaps
along with the other options that can't, like REFRAINFILE and others). It seems 
like this should be available as a per-action option,
so adding something like:

    if [ -n "$DIFFIGNORE" -a "${DIFFIGNORE:0:23}" != "--ignore-matching-lines" 
] ; then
        DIFFIGNORE="--ignore-matching-lines=$DIFFIGNORE"
    fi

after the per-action config files are read (in between line 420 and 421) seems 
like a good idea.

Thanks,

Cameron Dale


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)

Versions of packages cron-apt depends on:
ii  apt              0.6.42.1                Advanced front-end for dpkg
ii  bash             3.0-17                  The GNU Bourne Again SHell
ii  debianutils      2.15.1                  Miscellaneous utilities specific t
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent

Versions of packages cron-apt recommends:
ii  liblockfile1                  1.06       NFS-safe locking library, includes

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to