summaryrefslogtreecommitdiff
path: root/helpers/lh_clean
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_clean')
-rwxr-xr-xhelpers/lh_clean8
1 files changed, 8 insertions, 0 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index 1cd18a2..b4cf122 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -9,6 +9,14 @@
set -e
+# Read meta config
+if [ "${1}" != "autoconfig" ] && [ -e scripts/clean.sh ]
+then
+ sh scripts/clean.sh ${@}
+else
+ shift
+fi
+
# Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh