[simias-svn] SF.net SVN: simias:[7362] trunk/src/server/Simias.ClientUpdate
Brought to you by:
srinidhi_bs
|
From: <ra...@us...> - 2010-05-12 12:53:36
|
Revision: 7362
http://simias.svn.sourceforge.net/simias/?rev=7362&view=rev
Author: ravim85
Date: 2010-05-12 12:53:27 +0000 (Wed, 12 May 2010)
Log Message:
-----------
Restart message on linux client install is also logged to the
upgrade.log
Fixed few warnings in code
Modified Paths:
--------------
trunk/src/server/Simias.ClientUpdate/ClientUpdate.asmx.cs
trunk/src/server/Simias.ClientUpdate/install-ifolder-script.sh
Modified: trunk/src/server/Simias.ClientUpdate/ClientUpdate.asmx.cs
===================================================================
--- trunk/src/server/Simias.ClientUpdate/ClientUpdate.asmx.cs 2010-05-12 05:25:28 UTC (rev 7361)
+++ trunk/src/server/Simias.ClientUpdate/ClientUpdate.asmx.cs 2010-05-12 12:53:27 UTC (rev 7362)
@@ -377,10 +377,6 @@
string[] fileList = null;
try
{
- // Make sure that there is a version to look for.
- string versionString = Session[ VersionString ] as string;
- // if ( versionString != null )
- // {
// Get the file list for the specified version.
string platform = Session[ PlatformType ] as string;
if ( platform.Equals("Darwin") )
@@ -407,7 +403,6 @@
{
fileList = GetDistributionFileList( Session[ PlatformType ] as string );
}
- // }
}
catch ( Exception ex )
@@ -432,10 +427,6 @@
string[] fileList = null;
try
{
- // Make sure that there is a version to look for.
- string versionString = Session[ VersionString ] as string;
- // if ( versionString != null )
- // {
// Get the file list for the specified version.
string platform = Session[ PlatformType ] as string;
if ( platform.Equals("Darwin") )
@@ -462,7 +453,6 @@
{
fileList = GetDistributionFileList( Session[ PlatformType ] as string );
}
- // }
}
catch ( Exception ex )
@@ -897,7 +887,6 @@
public StatusCodes CheckForUpdate( string platform, string currentVersion, out string serverVersion )
{
StatusCodes stat = (StatusCodes)StatusCodes.Unknown;
- string updateVersion = null;
serverVersion = null;
try
{
@@ -1008,7 +997,6 @@
public StatusCodes CheckForUpdateSoapDocMethod( string platform, string currentVersion, out string serverVersion )
{
StatusCodes stat = (StatusCodes)StatusCodes.Unknown;
- string updateVersion = null;
serverVersion = null;
try
{
Modified: trunk/src/server/Simias.ClientUpdate/install-ifolder-script.sh
===================================================================
--- trunk/src/server/Simias.ClientUpdate/install-ifolder-script.sh 2010-05-12 05:25:28 UTC (rev 7361)
+++ trunk/src/server/Simias.ClientUpdate/install-ifolder-script.sh 2010-05-12 12:53:27 UTC (rev 7362)
@@ -87,4 +87,5 @@
sleep 5
echo "Successfully installed iFolder."
echo "Restart the system before you start using iFolder"
+echo "Restart the system before you start using iFolder" >> $HOME/.local/share/simias/upgrade.log
exit
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|