diff --git a/checkin_notes b/checkin_notes index e01104b14c..a0896f4282 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/tools/upgrade b/tools/upgrade index 09ec3c5535..42613430d9 100755 --- a/tools/upgrade +++ b/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."