summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_extract.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/ptxd_make_world_extract.sh')
-rw-r--r--scripts/lib/ptxd_make_world_extract.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_world_extract.sh b/scripts/lib/ptxd_make_world_extract.sh
index 955c4872b..12dfbb6cb 100644
--- a/scripts/lib/ptxd_make_world_extract.sh
+++ b/scripts/lib/ptxd_make_world_extract.sh
@@ -25,6 +25,7 @@ ptxd_make_world_extract() {
fi
pkg_extract_dir="${pkg_deprecated_extract_dir:-${pkg_extract_dir}}"
+ rm -rf "${pkg_extract_dir}" || return
case "${pkg_url}" in
lndir://*)