diff options
Diffstat (limited to 'helpers/lh_bootstrap_cache')
-rwxr-xr-x | helpers/lh_bootstrap_cache | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_bootstrap_cache b/helpers/lh_bootstrap_cache index 6d79e09..03ae904 100755 --- a/helpers/lh_bootstrap_cache +++ b/helpers/lh_bootstrap_cache @@ -49,8 +49,11 @@ do if [ "${STAGE}" = "bootstrap" ] && [ -d cache/stages_bootstrap ] then + # Removing old chroot + rm -rf chroot + # Restoring old cache - ${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap/* chroot + ${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot if [ -n "${LH_ROOT_COMMAND}" ] then |