summaryrefslogtreecommitdiff
path: root/helpers/lh_clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:21 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commit63631975b71ac083c07fd927d0b7264af73f2e24 (patch)
treed101839dcaff407f24698ac3bc111fe311dd0d5e /helpers/lh_clean
parentba2322bb2b453a848dccb7f80fbe5d72b373926e (diff)
downloadlive-build-63631975b71ac083c07fd927d0b7264af73f2e24.zip
live-build-63631975b71ac083c07fd927d0b7264af73f2e24.tar.gz
Adding live-helper 1.0~a27-1.
Diffstat (limited to 'helpers/lh_clean')
-rwxr-xr-xhelpers/lh_clean15
1 files changed, 1 insertions, 14 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index 021100f..0858a27 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -43,12 +43,6 @@ do
"${0}" binary
"${0}" stage
"${0}" source
-
- if [ -d chroot ]
- then
- mkdir -p .stage
- touch .stage/bootstrap
- fi
;;
cache)
@@ -67,13 +61,6 @@ do
${LH_ROOT_COMMAND} rm -rf chroot chroot.tmp
- if [ "${PURGE}" != "true" ] && [ -d cache/stages_bootstrap ]
- then
- ${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot
- mkdir -p .stage
- touch .stage/bootstrap
- fi
-
rm -f .stage/chroot*
;;
@@ -92,7 +79,7 @@ do
;;
purge)
- PURGE="true" "${0}" all
+ "${0}" all
"${0}" cache
;;