[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:
parent
594fc08b29
commit
aece3e3d2e
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user