[Pkg-sks-commit] r192 - sks/trunk/sks/debian

chrism at alioth.debian.org chrism at alioth.debian.org
Tue Aug 19 12:30:43 UTC 2008


Author: chrism
Date: 2008-08-19 12:30:42 +0000 (Tue, 19 Aug 2008)
New Revision: 192

Modified:
   sks/trunk/sks/debian/changelog
   sks/trunk/sks/debian/sks.cron.daily
Log:
Check spool directories for existance (Thanks to Filippo Giunchedi
<filippo at debian.org>) (Closes: #493335)

Modified: sks/trunk/sks/debian/changelog
===================================================================
--- sks/trunk/sks/debian/changelog	2008-08-19 12:21:30 UTC (rev 191)
+++ sks/trunk/sks/debian/changelog	2008-08-19 12:30:42 UTC (rev 192)
@@ -1,3 +1,10 @@
+sks (1.1.0-5) UNRELEASED; urgency=low
+
+  * Check spool directories for existance (Thanks to Filippo Giunchedi
+    <filippo at debian.org>) (Closes: #493335)
+
+ -- Christoph Martin <Christoph.Martin at Uni-Mainz.DE>  Tue, 19 Aug 2008 14:30:24 +0200
+
 sks (1.1.0-4) unstable; urgency=low
 
   * fix cron.daily to call correct db*_archive and print unwanted messages

Modified: sks/trunk/sks/debian/sks.cron.daily
===================================================================
--- sks/trunk/sks/debian/sks.cron.daily	2008-08-19 12:21:30 UTC (rev 191)
+++ sks/trunk/sks/debian/sks.cron.daily	2008-08-19 12:30:42 UTC (rev 192)
@@ -11,8 +11,12 @@
 # eventhing that hasn't been touched in the last 2 weeks
 # is probably old and the result of a host that changed IP.
 
+[ -d /var/spool/sks ] || exit 0
+
 find /var/spool/sks -type f -name 'diff-*.txt' -mtime +14 | xargs --no-run-if-empty rm -f
 
+[ -d /var/spool/sks/failed_messages ] || exit 0
+
 # Also remove failed messages
 find /var/spool/sks/failed_messages -type f -name 'msg-*.ready' -mtime +14 | xargs --no-run-if-empty rm -f
 




More information about the Pkg-sks-commit mailing list