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