From: Michael Prokop Date: Tue, 8 Apr 2014 17:31:29 +0000 (+0200) Subject: Execute apt upgrade with DEBIAN_FRONTEND environment variable X-Git-Tag: v0.62~1 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=2751e66f9bc407eecfcd506a2d43218f6a183684 Execute apt upgrade with DEBIAN_FRONTEND environment variable Noticed via recent libssl1.0.0 upgrade that the DEBIAN_FRONTEND usage is missing in the $APTUPGRADE command line. --- diff --git a/chroot-script b/chroot-script index bbc91f0..b0d0c52 100755 --- a/chroot-script +++ b/chroot-script @@ -223,7 +223,7 @@ upgrade_system() { if [ "$UPGRADE_SYSTEM" = "yes" ] ; then echo "Running update + upgrade" $APTUPDATE - $APTUPGRADE + DEBIAN_FRONTEND=$DEBIAN_FRONTEND $APTUPGRADE else echo "Not running update + upgrade as \$UPDATE_AND_UPGRADE is not set to 'yes'." fi