Hi, Here's a second version of path_exists cleanup. This time the few uses are replaced by inline snippets, and the function is banned completely.
-- Best regards, Michał Górny Michał Górny (8): media-plugins/vdr-live: Replace unnecessary path_exists calls media-plugins/vdr-vdrmanager: Replace unnecessary path_exists call net-vpn/openvpn: Remove obsolete postinst warning about old paths sys-apps/openrc: Replace path_exists with inline bash test www-apps/postfixadmin: Replace path_exists with inline logic app-eselect/eselect-opengl: Replace path_exists autotools-utils.eclass: Remove EAPI 2&3 support eutils.eclass: Ban path_exists .../eselect-opengl-1.3.1-r4.ebuild | 10 ++++-- eclass/autotools-utils.eclass | 29 +++------------ eclass/eutils.eclass | 30 +++------------- eclass/tests/eutils_path_exists.sh | 35 ------------------- .../vdr-live-0.3.0_p20130504-r1.ebuild | 2 +- .../vdr-live-0.3.0_p20130504-r2.ebuild | 2 +- media-plugins/vdr-live/vdr-live-2.3.1.ebuild | 2 +- .../vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild | 2 +- net-vpn/openvpn/openvpn-2.4.4.ebuild | 5 --- net-vpn/openvpn/openvpn-2.4.5.ebuild | 5 --- net-vpn/openvpn/openvpn-2.4.6.ebuild | 5 --- net-vpn/openvpn/openvpn-9999.ebuild | 5 --- sys-apps/openrc/openrc-0.34.11.ebuild | 2 +- www-apps/postfixadmin/postfixadmin-3.1.ebuild | 12 ++++--- 14 files changed, 27 insertions(+), 119 deletions(-) delete mode 100755 eclass/tests/eutils_path_exists.sh -- 2.18.0