[Mathlib-commitlog] SF.net SVN: mathlib:[496] JMathLib/trunk/src/jmathlib/toolbox/jmathlib/ system/
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2008-11-23 19:08:51
|
Revision: 496
http://mathlib.svn.sourceforge.net/mathlib/?rev=496&view=rev
Author: st_mueller
Date: 2008-11-23 19:08:41 +0000 (Sun, 23 Nov 2008)
Log Message:
-----------
Modified Paths:
--------------
JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/update.java
Modified: JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/update.java
===================================================================
--- JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/update.java 2008-11-23 11:29:10 UTC (rev 495)
+++ JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/update.java 2008-11-23 19:08:41 UTC (rev 496)
@@ -39,6 +39,14 @@
{
// read a file from the server and place it on the local disc
updateVersionS = s.substring(17).trim();
+
+ // maybe no update is available
+ if (updateVersionS.equals("no_update_available"))
+ {
+ getInterpreter().displayText("No update available available");
+ return null;
+ }
+
getInterpreter().displayText("updating to version >"+updateVersionS+"< \n");
}
}
@@ -49,7 +57,6 @@
-
// download new files from server
updateSiteS += "updates/jmathlib_" + updateVersionS + "/";
@@ -151,7 +158,7 @@
update
@DOC
updates JMathLib over the web
-@EXAMPLE
+@EXAMPLES
<programlisting>
update
</programlisting>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|