Hi

On Mon, Dec 19, 2005 at 04:42:33PM -0800, Cameron Dale wrote:
> 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.

Corrected, but in a bit different way.

The REFRAINFILE option do not make sense to have per config basis.

Will release a new version now.

Regards,

// Ola

> 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
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


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

Reply via email to