Merge "Set DEBIAN_FRONTEND with export"

This commit is contained in:
Zuul 2019-02-06 10:58:09 +00:00 committed by Gerrit Code Review
commit b030d21f83

View File

@ -207,7 +207,8 @@ if [ "${MANAGE_REPOS}" = true ]; then
$SUDO $YUM update -y
update_ret=$?
elif uses_debs; then
$SUDO DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confnew" upgrade
export DEBIAN_FRONTEND=noninteractive
$SUDO apt-get -y -o Dpkg::Options::="--force-confnew" upgrade
update_ret=$?
fi
if [ $update_ret -ne 0 ]; then