summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nikto/nikto-2.1.1.ebuild')
-rw-r--r--net-analyzer/nikto/nikto-2.1.1.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/net-analyzer/nikto/nikto-2.1.1.ebuild b/net-analyzer/nikto/nikto-2.1.1.ebuild
index 115b818dd..be74d4c45 100644
--- a/net-analyzer/nikto/nikto-2.1.1.ebuild
+++ b/net-analyzer/nikto/nikto-2.1.1.ebuild
@@ -27,6 +27,7 @@ RDEPEND="${DEPEND}"
src_prepare() {
rm docs/._* || die "removing osx files failed"
+ rm plugins/LW2.pm || die "removing bundled lib LW2.pm failed"
epatch "${FILESDIR}"/${PF}-PL.patch || die "patch failed"
}
@@ -53,7 +54,5 @@ src_install() {
}
pkg_postinst() {
- einfo "Removing bundled LW2.pm"
- rm /var/lib/nikto/plugins/LW2.pm || die "removing bundled library failed"
elog 'Default configuration file is "/etc/nikto/nikto.conf"'
}