From 896867538768126d4d9ddd4a502d5be9d9fe7127 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 14 May 2013 21:40:18 -0400 Subject: chcleanup: run pacman -Sy first to update the local repo --- src/chroot-tools/chcleanup | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/chroot-tools') diff --git a/src/chroot-tools/chcleanup b/src/chroot-tools/chcleanup index f957d3b..e407f1e 100755 --- a/src/chroot-tools/chcleanup +++ b/src/chroot-tools/chcleanup @@ -45,6 +45,8 @@ fi msg "Cleaning chroot..." +pacman -Sy + TEMPDIR="$(mktemp --tmpdir -d $(basename $0).XXXXX)" cp -a /var/lib/pacman/sync "${TEMPDIR}/" cleanup_log="${TEMPDIR}"/libretools-cleanup.log -- cgit v1.2.2