From 1c1e7db6c44d639fd51ee23061087c7d14b6ef6b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 28 Oct 2008 16:44:06 +0100 Subject: Generalizing internal Chroot(); by requiring its first argument to be the chroot directory. --- helpers/lh_chroot_install-packages | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers/lh_chroot_install-packages') diff --git a/helpers/lh_chroot_install-packages b/helpers/lh_chroot_install-packages index ddd5f739b..4a9305aa1 100755 --- a/helpers/lh_chroot_install-packages +++ b/helpers/lh_chroot_install-packages @@ -50,11 +50,11 @@ then # Installing packages case "${LH_APT}" in apt|apt-get) - Chroot "xargs --arg-file=/root/chroot_packages apt-get ${APT_OPTIONS} install" + Chroot chroot "xargs --arg-file=/root/chroot_packages apt-get ${APT_OPTIONS} install" ;; aptitude) - Chroot "xargs --arg-file=/root/chroot_packages aptitude ${APTITUDE_OPTIONS} install" + Chroot chroot "xargs --arg-file=/root/chroot_packages aptitude ${APTITUDE_OPTIONS} install" ;; esac -- cgit v1.2.3