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_hacks | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'helpers/lh_chroot_hacks') diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 1dd48502e..ffa9d9c67 100755 --- a/helpers/lh_chroot_hacks +++ b/helpers/lh_chroot_hacks @@ -54,15 +54,7 @@ case "${LH_BINARY_IMAGES}" in net) if [ ! -f chroot/usr/bin/smbmount ] then - case "${LH_APT}" in - apt|apt-get) - Chroot "apt-get install --yes smbfs" - ;; - - aptitude) - Chroot "aptitude install --assume-yes smbfs" - ;; - esac + Apt install smbfs fi if [ ! -d chroot/etc/initramfs-tools ] -- cgit v1.2.3