Bug#279205: exim4-base: Correct with this

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 279205@bugs.debian.org
Mon, 1 Nov 2004 15:12:09 +0100


On Mon, Nov 01, 2004 at 02:47:01PM +0100, Antonio Biasio wrote:
> if [ -x /usr/sbin/exim_tidydb ]; then
>   cd /var/spool/exim4/db || exit 1
>   for file in *; do
>     if echo $file | grep \\.lockfile >/dev/null 2>&1; then
> 	: # skip lock files
>     else
> 	if [ -e $file ]; then exim_tidydb_as_mail /var/spool/exim4 $file >/dev/null
> 	fi
>     fi
>   done
> fi

That's a bad fix. Probably the script should be rewritten with some
find construction.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835