mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
prod install: Add the CentOS version of the step to do dist-upgrade.
This commit is contained in:
@@ -201,7 +201,13 @@ fi
|
|||||||
# don't run dist-upgrade in one click apps to make the
|
# don't run dist-upgrade in one click apps to make the
|
||||||
# installation process more seamless.
|
# installation process more seamless.
|
||||||
if [ -z "$NO_DIST_UPGRADE" ]; then
|
if [ -z "$NO_DIST_UPGRADE" ]; then
|
||||||
apt-get -y dist-upgrade "${APT_OPTIONS[@]}"
|
case "$os_id" in
|
||||||
|
Ubuntu|Debian)
|
||||||
|
apt-get -y dist-upgrade "${APT_OPTIONS[@]}"
|
||||||
|
;;
|
||||||
|
# On CentOS, there is no need to do `yum -y upgrade` because `yum -y
|
||||||
|
# update` already does the same thing.
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$os_id" in
|
case "$os_id" in
|
||||||
|
|||||||
Reference in New Issue
Block a user