diff --git a/edxp-core/template_override/customize.sh b/edxp-core/template_override/customize.sh index 2b045104..d7724cf2 100644 --- a/edxp-core/template_override/customize.sh +++ b/edxp-core/template_override/customize.sh @@ -2,6 +2,9 @@ SKIPUNZIP=1 abortC() { rm -rf "${MODPATH}" + if [[ ! -f /data/adb/edxp/misc_path ]]; then + [[ -d "${MISC_PATH}" ]] && rm -rf "${MISC_PATH}" + fi abort "$1" }