diff options
Diffstat (limited to 'src/chroot-tools/chcleanup')
-rwxr-xr-x | src/chroot-tools/chcleanup | 2 |
1 files changed, 2 insertions, 0 deletions
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 |