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

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Wed Jun 11 07:38:45 UTC 2008


Author: hanska-guest
Date: 2008-06-11 07:38:44 +0000 (Wed, 11 Jun 2008)
New Revision: 2025

Removed:
   trunk/packages/emboss-explorer/trunk/debian/do_cleanup.sh
Modified:
   trunk/packages/emboss-explorer/trunk/debian/changelog
   trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.d
Log:
Fixing #435991 again :)
Date: 2007-10-07 11:09:55

Modified: trunk/packages/emboss-explorer/trunk/debian/changelog
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/changelog	2008-06-11 07:38:13 UTC (rev 2024)
+++ trunk/packages/emboss-explorer/trunk/debian/changelog	2008-06-11 07:38:44 UTC (rev 2025)
@@ -1,3 +1,10 @@
+emboss-explorer (2.2.0-4) unstable; urgency=low
+
+  * debian/do_cleanup.sh removed -- its contents are now directly
+    put in the crontab file. (Closes: #435991)
+
+ -- David Paleino <d.paleino at gmail.com>  Sun, 07 Oct 2007 13:09:08 +0200
+
 emboss-explorer (2.2.0-3) unstable; urgency=low
 
   [ David Paleino ]
@@ -10,7 +17,7 @@
   [ Charles Plessy ]
   * Changed section of libemboss-acd-perl from science to perl.
 
- -- David Paleino <d.paleino at gmail.com>  Sat, 29 Sep 2007 10:45:20 +0200
+ -- David Paleino <d.paleino at gmail.com>  Sun, 07 Oct 2007 13:08:54 +0200
 
 emboss-explorer (2.2.0-2) unstable; urgency=low
 

Deleted: trunk/packages/emboss-explorer/trunk/debian/do_cleanup.sh
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/do_cleanup.sh	2008-06-11 07:38:13 UTC (rev 2024)
+++ trunk/packages/emboss-explorer/trunk/debian/do_cleanup.sh	2008-06-11 07:38:44 UTC (rev 2025)
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# Script to gracefully handle the case when
-# emboss-explorer is removed but not purged:
-# the crontab will fail because it can't
-# find $OUT_DIR
-#
-# Closes: #435991
-#
-# Copyleft 2007, David Paleino <d.paleino at gmail.com>
-#  You may do whatever you want with this silly piece
-#  of code.
-
-OUT_DIR=/var/www/emboss-explorer/output
-
-[ ! -d "$OUT_DIR" ] || find $OUT_DIR -mindepth 1 -maxdepth 1 -atime 1 -exec rm -rf {} \;

Modified: trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.d
===================================================================
--- trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.d	2008-06-11 07:38:13 UTC (rev 2024)
+++ trunk/packages/emboss-explorer/trunk/debian/emboss-explorer.cron.d	2008-06-11 07:38:44 UTC (rev 2025)
@@ -1 +1 @@
-0 0 * * *	root	/usr/share/emboss-explorer/do_cleanup.sh
+0 0 * * *	root	[ -d "/var/www/emboss-explorer/output" ] && find /var/www/emboss-explorer/output -mindepth 1 -maxdepth 1 -atime 1 -exec rm -rf {} \;




More information about the debian-med-commit mailing list