[med-svn] r6631 - in trunk/packages/biomaj/trunk/debian: . patches

olivier sallou osallou-guest at alioth.debian.org
Tue Apr 26 13:52:31 UTC 2011


Author: osallou-guest
Date: 2011-04-26 13:52:25 +0000 (Tue, 26 Apr 2011)
New Revision: 6631

Added:
   trunk/packages/biomaj/trunk/debian/patches/
   trunk/packages/biomaj/trunk/debian/patches/fix623558_remove_pid
   trunk/packages/biomaj/trunk/debian/patches/series
Modified:
   trunk/packages/biomaj/trunk/debian/changelog
Log:
patch fix623558_remove_pid for bug #623558

Modified: trunk/packages/biomaj/trunk/debian/changelog
===================================================================
--- trunk/packages/biomaj/trunk/debian/changelog	2011-04-26 13:39:18 UTC (rev 6630)
+++ trunk/packages/biomaj/trunk/debian/changelog	2011-04-26 13:52:25 UTC (rev 6631)
@@ -1,6 +1,9 @@
 biomaj (1.1.0-1.1) UNRELEASED; urgency=low
 
-  * Add wishlist bug for russian translation of debconf (Closes: #623807)
+  * Fix minor bugs (Closes: #623807,#623558)
+    Add wishlist bug for russian translation of debconf
+    Remove pid file creation
+    
 
  -- Olivier Sallou <osallou at debiansid.genouest.org>  Fri, 22 Apr 2011 16:27:11 +0200
 

Added: trunk/packages/biomaj/trunk/debian/patches/fix623558_remove_pid
===================================================================
--- trunk/packages/biomaj/trunk/debian/patches/fix623558_remove_pid	                        (rev 0)
+++ trunk/packages/biomaj/trunk/debian/patches/fix623558_remove_pid	2011-04-26 13:52:25 UTC (rev 6631)
@@ -0,0 +1,33 @@
+Olivier Sallou <olivier.sallou at irisa.fr>, Closes #623558
+--- a/usr/share/biomaj/bin/biomaj.sh
++++ b/usr/share/biomaj/bin/biomaj.sh
+@@ -91,21 +91,6 @@
+                fi
+        done
+ }
+-# creates one file per bank that contains the pid of this process
+-create_pid()
+-{
+-	ok="false";
+-	for arg in $@; do
+-		regex=`echo $arg | egrep '^\-+[[:alnum:]]+'`
+-		if [ $arg = "--update" ] || [ $arg = "-d" ]; then
+-			ok="true"
+-		elif [ -z $regex ] && [ $ok = "true" ]; then
+-			echo $$>$BIOMAJ_ROOT/tmp/.bmajpid_$arg
+-		elif [ -w $regex ] && [ $ok = "true" ]; then
+-			ok="false"
+-		fi
+-	done
+-}
+ 
+ #echo "Loading variables environment"
+ SCRIPT_PATH="${BASH_SOURCE[0]}";
+@@ -129,7 +114,6 @@
+ #echo "Verifying Pre-requisists"
+ test_ant_version 
+ test_java_version
+-create_pid $@
+ 
+ 
+ #echo "Executing biomaj ..."

Added: trunk/packages/biomaj/trunk/debian/patches/series
===================================================================
--- trunk/packages/biomaj/trunk/debian/patches/series	                        (rev 0)
+++ trunk/packages/biomaj/trunk/debian/patches/series	2011-04-26 13:52:25 UTC (rev 6631)
@@ -0,0 +1 @@
+fix623558_remove_pid




More information about the debian-med-commit mailing list