Skip to content
Snippets Groups Projects
Commit aece3e3d authored by Gerardo Pozzi's avatar Gerardo Pozzi
Browse files

[archiso] Remove uneeded cleanup /tmp


/tmp is mounted as tmpfs since archiso implements own chroot code.

Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
parent 594fc08b
No related branches found
No related tags found
No related merge requests found
......@@ -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!"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment