From 21b6a908c364ee6c3cc2e9ea0e9186b5564e60f2 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sun, 3 Mar 2013 18:23:51 -0300 Subject: [archiso] Fix find cmd in _cleanup() Fix FS#34075 Signed-off-by: Gerardo Exequiel Pozzi --- archiso/mkarchiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archiso') 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!" } -- cgit v1.2.3-70-g09d2