prod install: Add the CentOS version of the step to do dist-upgrade.

This commit is contained in:
rht
2019-12-16 13:57:01 +00:00
committed by Tim Abbott
parent bf76696d67
commit 9898c07e0d

View File

@@ -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
case "$os_id" in
Ubuntu|Debian)
apt-get -y dist-upgrade "${APT_OPTIONS[@]}" 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