[med-svn] r3189 - in trunk/packages/mlstdbnet/trunk/debian: . patches

tille at alioth.debian.org tille at alioth.debian.org
Fri Mar 20 06:57:18 UTC 2009


Author: tille
Date: 2009-03-20 06:57:17 +0000 (Fri, 20 Mar 2009)
New Revision: 3189

Added:
   trunk/packages/mlstdbnet/trunk/debian/patches/14_get_refs_auth.patch
Modified:
   trunk/packages/mlstdbnet/trunk/debian/cron.daily
   trunk/packages/mlstdbnet/trunk/debian/patches/series
Log:
Make sure that cron job remains silent


Modified: trunk/packages/mlstdbnet/trunk/debian/cron.daily
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/cron.daily	2009-03-19 18:49:15 UTC (rev 3188)
+++ trunk/packages/mlstdbnet/trunk/debian/cron.daily	2009-03-20 06:57:17 UTC (rev 3189)
@@ -13,5 +13,5 @@
 PROG=/usr/share/mlstdbnet/getrefs.pl
 
 if [ -x $PROG -a -s $CONFFILE ] ; then
-    su - --command "$PROG $CONFFILE" www-data
+    su --command "$PROG $CONFFILE" www-data
 fi

Added: trunk/packages/mlstdbnet/trunk/debian/patches/14_get_refs_auth.patch
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/patches/14_get_refs_auth.patch	                        (rev 0)
+++ trunk/packages/mlstdbnet/trunk/debian/patches/14_get_refs_auth.patch	2009-03-20 06:57:17 UTC (rev 3189)
@@ -0,0 +1,11 @@
+--- mlstdbnet_v2.0.2.orig/scripts/getrefs.pl
++++ mlstdbnet_v2.0.2/scripts/getrefs.pl
+@@ -83,7 +83,7 @@
+ @refs = grep ($templist{$_}++ == 0, @refs);
+ %templist=();
+ 
+-my $db=DBI->connect('DBI:Pg:dbname=refs', 'postgres') or die "couldn't open template db" . DBI->errstr;
++my $db=DBI->connect('DBI:Pg:dbname=refs') or die "couldn't open template db" . DBI->errstr;
+ #Here we query website and extract reference data
+ foreach my $refid (@refs) {
+     #Check whether the reference is already in the database

Modified: trunk/packages/mlstdbnet/trunk/debian/patches/series
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/patches/series	2009-03-19 18:49:15 UTC (rev 3188)
+++ trunk/packages/mlstdbnet/trunk/debian/patches/series	2009-03-20 06:57:17 UTC (rev 3189)
@@ -1,3 +1,4 @@
 10_preconf.patch
 10_config_location.patch
 13_ident_authentication.patch
+14_get_refs_auth.patch




More information about the debian-med-commit mailing list