diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ptxdist | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 57c848702..42a5bdc08 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -835,6 +835,8 @@ clean() { # we want to clean the root dir if [ "${1}" = "root" ]; then echo + echo "${PROMPT}cleaning image directory..." + rm -fr -- "${IMAGEDIR}" echo "${PROMPT}cleaning root directory..." rm -fr -- "${ROOTDIR}" rm -fr -- "${ROOTDIR_DEBUG}" @@ -842,6 +844,7 @@ clean() { rm -fr -- "${PKGDIR}"/*.ipk echo "${PROMPT}cleaning targetinstall stages..." rm -f -- "${STATEDIR}"/*.targetinstall* + rm -f -- "${STATEDIR}"/*.xpkg.map echo "${PROMPT}done." echo return |