summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-07-02 20:29:22 +0100
committerSam James <sam@gentoo.org>2023-07-02 20:55:29 +0100
commit7c84f4505e7c7c2aa4711bde88429952e6ff2d44 (patch)
treec2921a4c9bdc0c8a4e8ab3331d8a71526aa86431 /net-analyzer/fail2ban
parentapp-office/ledger: drop 3.3.1 (diff)
downloadgentoo-7c84f4505e7c7c2aa4711bde88429952e6ff2d44.tar.gz
gentoo-7c84f4505e7c7c2aa4711bde88429952e6ff2d44.tar.bz2
gentoo-7c84f4505e7c7c2aa4711bde88429952e6ff2d44.zip
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@gentoo.org>
Diffstat (limited to 'net-analyzer/fail2ban')
-rw-r--r--net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild2
-rw-r--r--net-analyzer/fail2ban/fail2ban-9999.ebuild2
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() {