X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=0293940e3c0750fa329ea63b2e4c6820f7681724;hp=40fa486524433f79b45d3a9f46fb9a856b607647;hb=ff2e31cccb516c4c7c4d5883d434bf20626651d9;hpb=a6e66feca9403ad2a5846fdfa989bb9f170fd72f diff --git a/chroot-script b/chroot-script index 40fa486..0293940 100644 --- a/chroot-script +++ b/chroot-script @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Mon Apr 16 14:48:41 CEST 2007 [mika] +# Latest change: Mon Apr 16 15:26:11 CEST 2007 [mika] ################################################################################ set -e # exit on any error @@ -16,10 +16,10 @@ set -e # exit on any error # use aptitude only if it's available if [ -x /usr/bin/aptitude ] ; then - APTINSTALL='aptitude -y install ' + APTINSTALL='DEBIAN_FRONTEND=$DEBIAN_FRONTEND aptitude -y install ' APTUPDATE='aptitude update' else - APTINSTALL='apt-get --force-yes -y install' + APTINSTALL='DEBIAN_FRONTEND=$DEBIAN_FRONTEND apt-get --force-yes -y install' APTUPDATE='apt-get update' fi