Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

upgrade: Don't prompt in the second apt-get upgrade.

Alex Vandivereb6802057ac7
diff --git a/scripts/lib/upgrade-zulip-stage-2 b/scripts/lib/upgrade-zulip-stage-2
index 2a8d3fe82c4..206c5472908 100755
--- a/scripts/lib/upgrade-zulip-stage-2
+++ b/scripts/lib/upgrade-zulip-stage-2
@@ -256,7 +256,7 @@ if (not args.skip_puppet or migrations_needed) and IS_SERVER_UP:
if not args.skip_puppet:
logging.info("Applying puppet changes...")
subprocess.check_call(["./scripts/zulip-puppet-apply", "--force"])
- subprocess.check_call(["apt-get", "upgrade"])
+ subprocess.check_call(["apt-get", "-y", "upgrade"])
if migrations_needed:
logging.info("Applying database migrations...")