aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStevan Radaković <stevan.radakovic@linaro.org>2013-01-28 17:31:58 +0100
committerStevan Radaković <stevan.radakovic@linaro.org>2013-01-28 17:31:58 +0100
commit47ac5bfe9ef305edec3692a3b8e0795ae87da456 (patch)
tree0c99114685cc01b78b0be53f77c629487f933994
parent54cbb492bd74a89ea7a1cacf5b6e3bdc3fae4e6b (diff)
downloadrhodecode-config-47ac5bfe9ef305edec3692a3b8e0795ae87da456.tar.gz
paster update-db return code is not 0 when the DB version is newest, so we have to add continue_on_error here.
-rwxr-xr-xscripts/rhodecode-setup3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup
index 594ae93..7f7d73e 100755
--- a/scripts/rhodecode-setup
+++ b/scripts/rhodecode-setup
@@ -531,7 +531,8 @@ def update_database_schema(work_dir, config_file, assume_yes=False):
input_str = "y"
cmd_args = ["paster", "upgrade-db", config_file]
- execute_command(cmd_args, work_dir=work_dir, input_str=input_str)
+ execute_command(cmd_args, work_dir=work_dir, input_str=input_str,
+ continue_on_error=True)
def backup_installation(home_dir):