[Pkg-emboss-commits] r113 - emboss-explorer/trunk/debian
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Sun Oct 7 09:09:55 UTC 2007
Author: hanska-guest
Date: 2007-10-07 09:09:55 +0000 (Sun, 07 Oct 2007)
New Revision: 113
Removed:
emboss-explorer/trunk/debian/do_cleanup.sh
Modified:
emboss-explorer/trunk/debian/changelog
emboss-explorer/trunk/debian/emboss-explorer.cron.d
Log:
Fixing #435991 again :)
Modified: emboss-explorer/trunk/debian/changelog
===================================================================
--- emboss-explorer/trunk/debian/changelog 2007-09-29 06:47:49 UTC (rev 112)
+++ emboss-explorer/trunk/debian/changelog 2007-10-07 09:09:55 UTC (rev 113)
@@ -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: emboss-explorer/trunk/debian/do_cleanup.sh
===================================================================
--- emboss-explorer/trunk/debian/do_cleanup.sh 2007-09-29 06:47:49 UTC (rev 112)
+++ emboss-explorer/trunk/debian/do_cleanup.sh 2007-10-07 09:09:55 UTC (rev 113)
@@ -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: emboss-explorer/trunk/debian/emboss-explorer.cron.d
===================================================================
--- emboss-explorer/trunk/debian/emboss-explorer.cron.d 2007-09-29 06:47:49 UTC (rev 112)
+++ emboss-explorer/trunk/debian/emboss-explorer.cron.d 2007-10-07 09:09:55 UTC (rev 113)
@@ -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 Pkg-emboss-commits
mailing list