diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 4aca7fc..fa32b62 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -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!" }