From 09f88a6e3837f71343dacb1bf7c6411183cca2cf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 21 Feb 2008 20:03:57 +0100 Subject: Adding apt/aptitude options. By using APT_OPTIONS and APTITUDE_OPTIONS in config/common, one can manipulate the default options wich is made to each and every apt and aptitude call. --- helpers/lh_binary_debian-installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers/lh_binary_debian-installer') diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 096ca47b9..79fe2c68f 100755 --- a/helpers/lh_binary_debian-installer +++ b/helpers/lh_binary_debian-installer @@ -250,7 +250,7 @@ if [ "${LH_DEBIAN_INSTALLER}" != "netboot" ]; then DI_PACKAGES="${DI_PACKAGES} cryptsetup lvm2" - Chroot "apt-get -o Dir::Cache=/binary.deb --download-only install --yes ${DI_PACKAGES}" + Chroot "apt-get ${APT_OPTIONS} -o Dir::Cache=/binary.deb --download-only install ${DI_PACKAGES}" mv chroot/binary.deb ./ mv chroot/var/lib/dpkg/status.tmp chroot/var/lib/dpkg/status -- cgit v1.2.3