[med-svn] r2141 - trunk/packages/emboss-explorer/trunk/debian

plessy at alioth.debian.org plessy at alioth.debian.org
Sat Jul 5 07:19:25 UTC 2008


Author: plessy
Date: 2008-07-05 07:19:24 +0000 (Sat, 05 Jul 2008)
New Revision: 2141

Added:
   trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.d
Removed:
   trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.daily
Modified:
   trunk/packages/emboss-explorer/trunk/debian/README.Debian
Log:
Reverted the move from cron.d to cron.daily.

 - It deprives the user from the possibility to chose other frequencies than
   daily.
 - It complicates the upgrade as /etc/cron.d/emboss-explorer is a configuration
   file that could have been modified; these changes would be lost by bluntly
   switching to cron.daily.


Modified: trunk/packages/emboss-explorer/trunk/debian/README.Debian
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/README.Debian	2008-07-05 07:03:41 UTC (rev 2140)
+++ trunk/packages/emboss-explorer/trunk/debian/README.Debian	2008-07-05 07:19:24 UTC (rev 2141)
@@ -19,6 +19,6 @@
 space fairly quickly.  The old output is cleaned up everyday at midnight by a
 task to the root user's crontab.  By default, all output files that have not
 been accessed in the last 24 hours are removed.  You can modify this in
-/etc/cron.daily/emboss-explorer.
+/etc/cron.d/emboss-explorer.
 
  -- Charles Plessy <plessy at debian.org>  Mon, 23 Jun 2008 22:43:36 +0900

Copied: trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.d (from rev 2139, trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.daily)
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.d	                        (rev 0)
+++ trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.d	2008-07-05 07:19:24 UTC (rev 2141)
@@ -0,0 +1 @@
+0 0 * * *	root	[ -d "/var/lib/emboss-explorer/output" ] && find /var/lib/emboss-explorer/output -mindepth 1 -maxdepth 1 -atime 1 -exec rm -rf {} \;

Deleted: trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.daily
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.daily	2008-07-05 07:03:41 UTC (rev 2140)
+++ trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.daily	2008-07-05 07:19:24 UTC (rev 2141)
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-# Daily cleaning task for EMBOSS explorer.
-# Modifications to this files are preserved during upgrades.
-
-[ -d "/var/lib/emboss-explorer/output" ] && find /var/lib/emboss-explorer/output -mindepth 1 -maxdepth 1 -atime 1 -exec rm -rf {} \;




More information about the debian-med-commit mailing list