From eb9b162a91f5f378d62231a2bd123a2561835a3e Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernandez Date: Mon, 28 Mar 2011 04:09:01 -0700 Subject: Using cachedir in mkarchroot --- libremakepkg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libremakepkg') diff --git a/libremakepkg b/libremakepkg index 78ebefb..8cce89d 100755 --- a/libremakepkg +++ b/libremakepkg @@ -39,8 +39,7 @@ pkgbuild-check-nonfree ||{ CLEAN="-c" msg "Updating the main chroot" - mount -o bind ${CACHEDIR} ${CHROOTDIR}/${CHROOT}/var/cache/pacman/pkg || exit 1 - mkarchroot -u -- ${CHROOTDIR}/${CHROOT} + mkarchroot -c ${CACHEDIR} -u -- ${CHROOTDIR}/${CHROOT} mount -o bind ${CACHEDIR} ${CHROOTDIR}/${CHCOPY}/var/cache/pacman/pkg || exit 1 } -- cgit v1.2.3-2-g168b