r35719 - /packages/scilab/trunk/debian/patches/javaruntimedetection.diff

sylvestre-guest at users.alioth.debian.org sylvestre-guest at users.alioth.debian.org
Fri May 15 06:26:57 UTC 2009


Author: sylvestre-guest
Date: Fri May 15 06:26:57 2009
New Revision: 35719

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35719
Log:
Enable a default case on the startup about the java detection

Added:
    packages/scilab/trunk/debian/patches/javaruntimedetection.diff

Added: packages/scilab/trunk/debian/patches/javaruntimedetection.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab/trunk/debian/patches/javaruntimedetection.diff?rev=35719&op=file
==============================================================================
--- packages/scilab/trunk/debian/patches/javaruntimedetection.diff (added)
+++ packages/scilab/trunk/debian/patches/javaruntimedetection.diff Fri May 15 06:26:57 2009
@@ -1,0 +1,28 @@
+diff --git a/scilab/bin/scilab b/scilab/bin/scilab
+index d7a7828..7efaf1a 100755
+--- a/scilab/bin/scilab
++++ b/scilab/bin/scilab
+@@ -336,16 +336,21 @@ case $OS in
+ 				fi
+ 				;;
+ 			"ia64")
+-				proc="i64"
++				proc="ia64"
+ 				;;
+-		    "ppc")
++		    "ppc"|"powerpc"|"ppc64")
+ 				proc="ppc"
+ 				;;
+ 			"alpha")  
+ 				proc="alpha"
+ 				;;
++			"s390"|"s390x")
++				proc="s390"
++				;;
+ 			*)
+ 				echo "Could not find the Java configuration for the model <${MODEL}>. Please contact us."
++				echo "Fallback on the model <${MODEL}> found by uname -m"
++				proc=$MODEL
+ 				;;
+ 			esac
+ 		;;




More information about the debian-science-commits mailing list