summaryrefslogtreecommitdiff
path: root/helpers/lh_clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-11-13 13:08:51 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:29 +0100
commit1324f6e13b2057871d09f6c4ff68e9b6d6f05797 (patch)
treef5b88d0c978709fc0ddf7ee0ad5cd0c2379083cc /helpers/lh_clean
parent9ce7afd0b30723491ec14162724324dfae24bf07 (diff)
downloadvyos-live-build-1324f6e13b2057871d09f6c4ff68e9b6d6f05797.tar.gz
vyos-live-build-1324f6e13b2057871d09f6c4ff68e9b6d6f05797.zip
Adding 'remove' case, which is in between of all and purge.
Diffstat (limited to 'helpers/lh_clean')
-rwxr-xr-xhelpers/lh_clean5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index 166c867ce..393f73b3e 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -92,6 +92,11 @@ do
rm -f .stage/binary*
;;
+ remove)
+ "${0}" all
+ rm -rf cache/packages_*
+ ;;
+
purge)
"${0}" all
"${0}" cache