mirror of https://github.com/BOINC/boinc.git
- upgrade script: don't stop/start project if --web_only
svn path=/trunk/boinc/; revision=16553
This commit is contained in:
parent
fbd50f4ec4
commit
ed924f90a1
|
@ -9577,3 +9577,9 @@ David 24 Nov 2008
|
|||
|
||||
client/
|
||||
cs_prefs.cpp
|
||||
|
||||
David 24 Nov 2008
|
||||
- upgrade script: don't stop/start project if --web_only
|
||||
|
||||
tools/
|
||||
upgrade
|
||||
|
|
|
@ -52,8 +52,9 @@ INSTALL_DIR = os.path.join(options.project_root, project_shortname)
|
|||
if not tools.query_noyes("Overwrite files in "+INSTALL_DIR):
|
||||
raise SystemExit
|
||||
|
||||
if os.system(os.path.join(INSTALL_DIR,'bin/stop')):
|
||||
raise SystemExit("Couldn't stop project!")
|
||||
if not options.web_only:
|
||||
if os.system(os.path.join(INSTALL_DIR,'bin/stop')):
|
||||
raise SystemExit("Couldn't stop project!")
|
||||
|
||||
print "Upgrading files... "
|
||||
|
||||
|
@ -71,4 +72,5 @@ except:
|
|||
|
||||
os.system('cd '+INSTALL_DIR+'/html/ops; ./upgrade_db.php')
|
||||
|
||||
print "Run `bin/start' to restart the project."
|
||||
if not options.web_only:
|
||||
print "Run `bin/start' to restart the project."
|
||||
|
|
Loading…
Reference in New Issue