[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>
This commit is contained in:
Gerardo Exequiel Pozzi 2012-10-24 13:18:16 -03:00
parent 594fc08b29
commit aece3e3d2e

View File

@ -259,10 +259,6 @@ _cleanup () {
if [[ -d "${work_dir}/root-image/var/tmp" ]]; then if [[ -d "${work_dir}/root-image/var/tmp" ]]; then
find "${work_dir}/root-image/var/tmp" -mindepth 1 -delete find "${work_dir}/root-image/var/tmp" -mindepth 1 -delete
fi 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. # Delete package pacman related files.
find "${work_dir}" -name "*.pacnew" -name "*.pacsave" -name "*.pacorig" -delete find "${work_dir}" -name "*.pacnew" -name "*.pacsave" -name "*.pacorig" -delete
_msg_info "Done!" _msg_info "Done!"