[tuxdroid-svn] r5356 - software_suite_v3/smart-core/smart-server/trunk
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-09-11 12:05:19
|
Author: remi
Date: 2009-09-11 14:05:06 +0200 (Fri, 11 Sep 2009)
New Revision: 5356
Modified:
software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py
Log:
* Force to wait the end of the update installation.
Modified: software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py 2009-09-11 08:18:18 UTC (rev 5355)
+++ software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py 2009-09-11 12:05:06 UTC (rev 5356)
@@ -175,8 +175,6 @@
currentVersion = confDict[archName]["version"]
if self.__getCurrentPartVersion(partName) == currentVersion:
continue
- # Write CVER file
- self.__writeCVerFile(partName, currentVersion)
installerFile = os.path.join(TDS_UPDATES_PATH, installerName)
if os.name == "nt":
cmd = [
@@ -186,6 +184,8 @@
]
self.__logger.logInfo("Installation started [%s] (%s)" % (installerName, currentVersion))
process = subprocess.Popen(cmd)
+ process.wait()
+ self.__writeCVerFile(partName, currentVersion)
self.__logger.logInfo("Installation finished")
else:
pass
|