Package: cron-apt
Version: 0.2.1
Severity: normal

If FILTERCTRLM="true" and, for example, MAILON=upgrade, (I've not tested
other combinations but from what I see in the source ... ) nothing is 
sent out.

It seems that this is because you do the filtering:

lines 421-425:
if [ "$FILTERCTRLM" = "true" ]; then
        grep -v "
" "$TEMP" > "$FILTER"
        cp "$FILTER" "$TEMP"
fi

before you check if packages will be upgraded:

line 455:
if grep -q 'The following packages will be upgraded' "$TEMP" ; then
                        

Willi


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages cron-apt depends on:
ii  apt              0.5.28.1                Advanced front-end for dpkg
ii  bash             2.05b-24                The GNU Bourne Again SHell
ii  debianutils      2.8.4                   Miscellaneous utilities specific t
ii  mailx            1:8.1.2-0.20040524cvs-4 A simple mail user agent

-- no debconf information


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

Reply via email to