From 4b1007106488bc46d8e68ffeab1c84eb27bd6d86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Sun, 19 Feb 2023 14:16:28 +0100 Subject: subr.ex/ex_pkg.subr:ex_pkg_check_depends(): speed up by testing for finish state w/ solely ex_pkg_state_test2(). --- subr.ex/ex_pkg.subr | 1 - 1 file changed, 1 deletion(-) diff --git a/subr.ex/ex_pkg.subr b/subr.ex/ex_pkg.subr index eb735b62..c66c5ca2 100644 --- a/subr.ex/ex_pkg.subr +++ b/subr.ex/ex_pkg.subr @@ -34,7 +34,6 @@ ex_pkg_check_depends() { for _epcd_pkg_name_depend in ${_epcd_depends}; do if ! rtl_lmatch "${_epcd_rpkg_disabled}" "${_epcd_pkg_name_depend}"\ - && ! rtl_lmatch "${_epcd_rpkg_finished}" "${_epcd_pkg_name_depend}"\ && ! ex_pkg_state_test2 "${_epcd_workdir}" "${_epcd_pkg_name_depend}" finish; then if ! rtl_lmatch "${_epcd_rpkg_names}" "${_epcd_pkg_name_depend}"; then -- cgit v1.2.3