From 504c05c3a63de0af4fd0e876274afc039c5c0ed1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:05:12 +0200 Subject: Adding live-helper 1.0~a15-1. --- helpers/lh_chroot_cache | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'helpers/lh_chroot_cache') diff --git a/helpers/lh_chroot_cache b/helpers/lh_chroot_cache index 8d3d9620b..2f016a6f7 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 -- cgit v1.2.3