Noticed via recent libssl1.0.0 upgrade that the
DEBIAN_FRONTEND usage is missing in the $APTUPGRADE
command line.
if [ "$UPGRADE_SYSTEM" = "yes" ] ; then
echo "Running update + upgrade"
$APTUPDATE
if [ "$UPGRADE_SYSTEM" = "yes" ] ; then
echo "Running update + upgrade"
$APTUPDATE
+ DEBIAN_FRONTEND=$DEBIAN_FRONTEND $APTUPGRADE
else
echo "Not running update + upgrade as \$UPDATE_AND_UPGRADE is not set to 'yes'."
fi
else
echo "Not running update + upgrade as \$UPDATE_AND_UPGRADE is not set to 'yes'."
fi