commit:     7c84f4505e7c7c2aa4711bde88429952e6ff2d44
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  2 19:29:22 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul  2 19:55:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c84f450

net-analyzer/fail2ban: ignore if bad .egg-info doesn't exist

This doesn't seem to always be here, so just use -f to ignore it if it's absent.

Closes: https://bugs.gentoo.org/856727
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild | 2 +-
 net-analyzer/fail2ban/fail2ban-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild 
b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
index 78eedfc19464..51759787dd17 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
@@ -63,7 +63,7 @@ python_test() {
                --verbosity=4 || die "Tests failed with ${EPYTHON}"
 
        # Workaround for bug #790251
-       rm -r fail2ban.egg-info || die
+       rm -rf fail2ban.egg-info || die
 }
 
 python_install_all() {

diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild 
b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 780f4c65a50a..80d515fa89e4 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -55,7 +55,7 @@ python_test() {
                --verbosity=4 || die "Tests failed with ${EPYTHON}"
 
        # Workaround for bug #790251
-       rm -r fail2ban.egg-info || die
+       rm -rf fail2ban.egg-info || die
 }
 
 python_install_all() {

Reply via email to