[archiso] Fix find cmd in _cleanup()

Fix FS#34075

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2013-03-03 18:23:51 -03:00
parent b77f04131b
commit 21b6a908c3

View File

@ -268,7 +268,7 @@ _cleanup () {
find "${work_dir}/root-image/var/tmp" -mindepth 1 -delete
fi
# Delete package pacman related files.
find "${work_dir}" -name "*.pacnew" -name "*.pacsave" -name "*.pacorig" -delete
find "${work_dir}" \( -name "*.pacnew" -o -name "*.pacsave" -o -name "*.pacorig" \) -delete
_msg_info "Done!"
}