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_chroot_local-packageslists | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers/lh_chroot_local-packageslists') diff --git a/helpers/lh_chroot_local-packageslists b/helpers/lh_chroot_local-packageslists index 2c03f3c6b..4c3a100c3 100755 --- a/helpers/lh_chroot_local-packageslists +++ b/helpers/lh_chroot_local-packageslists @@ -60,11 +60,11 @@ then # Installing package list case "${LH_APT}" in apt|apt-get) - Chroot "xargs --arg-file=/root/$(basename ${PACKAGESLIST}) apt-get install --yes" + Chroot "xargs --arg-file=/root/$(basename ${PACKAGESLIST}) apt-get ${APT_OPTIONS} install" ;; aptitude) - Chroot "xargs --arg-file=/root/$(basename ${PACKAGESLIST}) aptitude install --assume-yes" + Chroot "xargs --arg-file=/root/$(basename ${PACKAGESLIST}) aptitude ${APTITUDE_OPTIONS} install" ;; esac -- cgit v1.2.3