On Sat, Aug 04, 2007 at 04:16:27PM +0200, Filippo Giunchedi wrote:
> reported below:
> REMOVE CRON.WEEKLY [] ['/etc/cron.weekly/ifmail: line 5: cd: /var/log/ifmail: 
> No such file or directory\n']
> AUTOREMOVE CRON.WEEKLY [] ['/etc/cron.weekly/ifmail: line 5: cd: 
> /var/log/ifmail: No such file or directory\n']
> 
> you should check that the /var/log/ifmail directory is there

attached there's the patch fixing this bug, I've uploaded the package to
DELAYED/7-days

filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

Gretchen: You're weird.
Donnie: Sorry.
Gretchen: No, that was a compliment.
-- from Donnie Darko (2001)
diff -u ifmail-2.14tx8.10/debian/cron.weekly ifmail-2.14tx8.10/debian/cron.weekly
--- ifmail-2.14tx8.10/debian/cron.weekly
+++ ifmail-2.14tx8.10/debian/cron.weekly
@@ -2,7 +2,7 @@
 
 . /etc/ifmail/ifshellvars
 
-cd $IFLOGDIR
+cd $IFLOGDIR || exit 0
 
 # Rotate the logfiles.
 for LOG in ifdebug iflog; do
diff -u ifmail-2.14tx8.10/debian/changelog ifmail-2.14tx8.10/debian/changelog
--- ifmail-2.14tx8.10/debian/changelog
+++ ifmail-2.14tx8.10/debian/changelog
@@ -1,3 +1,11 @@
+ifmail (2.14tx8.10-19.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Exit 0 if logdir doesn't exists in /etc/cron.weekly/ifmail 
+    (Closes: #435994)
+
+ -- Filippo Giunchedi <[EMAIL PROTECTED]>  Thu, 01 May 2008 16:45:05 +0200
+
 ifmail (2.14tx8.10-19.2) unstable; urgency=high
 
   * Non-maintainer upload.

Reply via email to