[Pkg-ocaml-maint-commits] r2283 - in trunk/projects/approx/trunk: debian etc

Eric Cooper ecc-guest at costa.debian.org
Mon Dec 12 22:29:40 UTC 2005


Author: ecc-guest
Date: 2005-12-12 22:29:39 +0000 (Mon, 12 Dec 2005)
New Revision: 2283

Modified:
   trunk/projects/approx/trunk/debian/approx.cron.weekly
   trunk/projects/approx/trunk/debian/changelog
   trunk/projects/approx/trunk/debian/compat
   trunk/projects/approx/trunk/etc/approx.conf
Log:
fixed cron script

updated debian/compat to 5


Modified: trunk/projects/approx/trunk/debian/approx.cron.weekly
===================================================================
--- trunk/projects/approx/trunk/debian/approx.cron.weekly	2005-12-12 18:28:27 UTC (rev 2282)
+++ trunk/projects/approx/trunk/debian/approx.cron.weekly	2005-12-12 22:29:39 UTC (rev 2283)
@@ -1,12 +1,12 @@
-#!/bin/sh
+#!/bin/sh -e
 
 # Garbage collect the approx(8) cache
 
 # Run as the approx user in case we need to download replacement files
 
-su approx -c "gc_approx --quiet"
+su -s /bin/sh -c "/usr/sbin/gc_approx --quiet" approx
 
 # Remove any empty directories
 # The trailing /. makes it work when /var/cache/approx is a symlink
 
-find /var/cache/approx/. -type d -empty | xargs rmdir
+find /var/cache/approx/. -type d -empty | xargs --no-run-if-empty rmdir

Modified: trunk/projects/approx/trunk/debian/changelog
===================================================================
--- trunk/projects/approx/trunk/debian/changelog	2005-12-12 18:28:27 UTC (rev 2282)
+++ trunk/projects/approx/trunk/debian/changelog	2005-12-12 22:29:39 UTC (rev 2283)
@@ -1,3 +1,10 @@
+approx (2.03) unstable; urgency=low
+
+  * Fixed cron script (closes: #343105)
+  * Updated debian/compat to 5
+
+ -- Eric Cooper <ecc at cmu.edu>  Mon, 12 Dec 2005 15:43:46 -0500
+
 approx (2.02) unstable; urgency=low
 
   * Make sure all data that is streamed to the client during download

Modified: trunk/projects/approx/trunk/debian/compat
===================================================================
--- trunk/projects/approx/trunk/debian/compat	2005-12-12 18:28:27 UTC (rev 2282)
+++ trunk/projects/approx/trunk/debian/compat	2005-12-12 22:29:39 UTC (rev 2283)
@@ -1 +1 @@
-4
+5

Modified: trunk/projects/approx/trunk/etc/approx.conf
===================================================================
--- trunk/projects/approx/trunk/etc/approx.conf	2005-12-12 18:28:27 UTC (rev 2282)
+++ trunk/projects/approx/trunk/etc/approx.conf	2005-12-12 22:29:39 UTC (rev 2283)
@@ -13,8 +13,6 @@
 #security	http://security.debian.org/debian-security
 
 #misc		ftp://ftp.nerim.net/debian-marillat
-#motion		http://sentinel.dk/debian
-#mythtv		http://dijkstra.csh.rit.edu/~mdz/debian
 #ppc-misc	http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian
 #sis		http://www.winischhofer.net/sis/debian
 #thinkpad	http://debian.isg.ee.ethz.ch/public




More information about the Pkg-ocaml-maint-commits mailing list