diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-14 21:40:18 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-14 21:40:18 -0400 |
commit | 896867538768126d4d9ddd4a502d5be9d9fe7127 (patch) | |
tree | 81fe900c0a17cab21d8ca020b4bed92c6888f91a /src/chroot-tools/chcleanup | |
parent | 28eefc928e8ce7beb1f540a93fccb1e1ff7b00fb (diff) |
chcleanup: run pacman -Sy first to update the local repo
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 |