diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-10-24 13:18:16 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-10-24 13:18:16 -0300 |
commit | aece3e3d2e07953b9aab2a3bb4e3ed9fd926197f (patch) | |
tree | a93f3de699c7c7ba5f28d1bf7259737785a246f7 /archiso/mkarchiso | |
parent | 594fc08b29bfd188ddb05cb1a1854987f6419eda (diff) | |
download | archiso32-aece3e3d2e07953b9aab2a3bb4e3ed9fd926197f.tar.xz |
[archiso] Remove uneeded cleanup /tmp
/tmp is mounted as tmpfs since archiso implements own chroot code.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-x | archiso/mkarchiso | 4 |
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!" |