[archiso] Fix find cmd in _cleanup()
Fix FS#34075 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
b77f04131b
commit
21b6a908c3
@ -268,7 +268,7 @@ _cleanup () {
|
|||||||
find "${work_dir}/root-image/var/tmp" -mindepth 1 -delete
|
find "${work_dir}/root-image/var/tmp" -mindepth 1 -delete
|
||||||
fi
|
fi
|
||||||
# Delete package pacman related files.
|
# 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!"
|
_msg_info "Done!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user