diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:12 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:19:41 +0100 |
commit | 504c05c3a63de0af4fd0e876274afc039c5c0ed1 (patch) | |
tree | 5a29d0f82735a131c9319b5b825c57b740584d13 /helpers/lh_chroot_cache | |
parent | 37a5c53ddd2825bf6b0ce521908a63d419683981 (diff) | |
download | live-build-504c05c3a63de0af4fd0e876274afc039c5c0ed1.zip live-build-504c05c3a63de0af4fd0e876274afc039c5c0ed1.tar.gz |
Adding live-helper 1.0~a15-1.
Diffstat (limited to 'helpers/lh_chroot_cache')
-rwxr-xr-x | helpers/lh_chroot_cache | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_chroot_cache b/helpers/lh_chroot_cache index 8d3d962..2f016a6 100755 --- a/helpers/lh_chroot_cache +++ b/helpers/lh_chroot_cache @@ -49,8 +49,11 @@ do if [ "${STAGE}" = "chroot" ] && [ -d cache/stages_chroot ] then + # Removing old chroot + rm -rf chroot + # Restoring old cache - ${LH_ROOT_COMMAND} cp -a cache/stages_chroot/* chroot + ${LH_ROOT_COMMAND} cp -a cache/stages_chroot chroot if [ -n "${LH_ROOT_COMMAND}" ] then |