diff options
author | Daniel Baumann <daniel@debian.org> | 2008-02-21 20:03:57 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:36:05 +0100 |
commit | 09f88a6e3837f71343dacb1bf7c6411183cca2cf (patch) | |
tree | 93f74f348b4bb727f53393a42177a86a965d5d54 /helpers/lh_chroot_packageslists | |
parent | 1ffce292fb24b3e77605a76e2388172927bebae7 (diff) | |
download | live-build-09f88a6e3837f71343dacb1bf7c6411183cca2cf.zip live-build-09f88a6e3837f71343dacb1bf7c6411183cca2cf.tar.gz |
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.
Diffstat (limited to 'helpers/lh_chroot_packageslists')
-rwxr-xr-x | helpers/lh_chroot_packageslists | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_packageslists b/helpers/lh_chroot_packageslists index 7d0cdef..651e359 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 |