summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchiso/mkarchiso4
1 files changed, 0 insertions, 4 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index b9f12c1..b8d14e1 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -259,10 +259,6 @@ _cleanup () {
if [[ -d "${work_dir}/root-image/var/tmp" ]]; then
find "${work_dir}/root-image/var/tmp" -mindepth 1 -delete
fi
- # Delete all temporary files and dirs
- if [[ -d "${work_dir}/root-image/tmp" ]]; then
- find "${work_dir}/root-image/tmp" -mindepth 1 -delete
- fi
# Delete package pacman related files.
find "${work_dir}" -name "*.pacnew" -name "*.pacsave" -name "*.pacorig" -delete
_msg_info "Done!"