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_packages | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'helpers/lh_chroot_packages') diff --git a/helpers/lh_chroot_packages b/helpers/lh_chroot_packages index 661b33543..9fe2984ad 100755 --- a/helpers/lh_chroot_packages +++ b/helpers/lh_chroot_packages @@ -53,15 +53,7 @@ then Restore_cache cache/packages_packages # Installing packages - case "${LH_APT}" in - apt|apt-get) - Chroot "apt-get install --yes ${LH_PACKAGES}" - ;; - - aptitude) - Chroot "aptitude install --assume-yes ${LH_PACKAGES}" - ;; - esac + Apt install ${LH_PACKAGES} # Saving cache Save_cache cache/packages_packages -- cgit v1.2.3