Package: cron-apt Version: 0.3.0 Severity: normal Tags: patch Please consider this patch which will improve FILTERCTRLM behavior.
cron-apt diff handling needs to adapt to aptitude as well, since aptitude update seems to create "Hit" lines out of order. I will investigate. Greetings Marc --- cron-apt.orig 2005-06-20 11:51:43.000000000 +0200 +++ /usr/sbin/cron-apt 2005-06-25 14:35:33.000000000 +0200 @@ -430,8 +430,10 @@ umask $UMASK_SAVE fi if [ "$FILTERCTRLM" = "true" ]; then - grep -v " -" "$TEMP" > "$FILTER" + CTRLM="$(echo -e \\r)" + < "$TEMP" sed "s/.*$CTRLM\(.\+\)/\1/" > "$FILTER" + #grep -v " +#" "$TEMP" > "$FILTER" cp "$FILTER" "$TEMP" fi if [ $RET -ne 0 ]; then -- System Information: Debian Release: 3.1 Architecture: i386 (i586) Kernel: Linux 2.4.31-zgfw Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages cron-apt depends on: ii apt 0.5.28.6 Advanced front-end for dpkg ii bash 2.05b-26 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]