mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
prod install: Add the CentOS version of the step to upgrade packages.
This commit is contained in:
@@ -307,7 +307,14 @@ if [ -n "$REMOTE_POSTGRES" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# These server restarting bits should be moveable into puppet-land, ideally
|
# These server restarting bits should be moveable into puppet-land, ideally
|
||||||
apt-get -y upgrade
|
case "$os_id" in
|
||||||
|
Ubuntu|Debian)
|
||||||
|
apt-get -y upgrade
|
||||||
|
;;
|
||||||
|
centos)
|
||||||
|
# No action is required because `yum update` already does upgrade.
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ "$has_nginx" = 0 ]; then
|
if [ "$has_nginx" = 0 ]; then
|
||||||
# Check nginx was configured properly now that we've installed it.
|
# Check nginx was configured properly now that we've installed it.
|
||||||
|
|||||||
Reference in New Issue
Block a user