From aece3e3d2e07953b9aab2a3bb4e3ed9fd926197f Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Wed, 24 Oct 2012 13:18:16 -0300 Subject: [archiso] Remove uneeded cleanup /tmp /tmp is mounted as tmpfs since archiso implements own chroot code. Signed-off-by: Gerardo Exequiel Pozzi --- archiso/mkarchiso | 4 ---- 1 file changed, 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!" -- cgit v1.2.3-70-g09d2