diff options
Diffstat (limited to 'app-antivirus/clamav')
-rw-r--r-- | app-antivirus/clamav/clamav-0.104.0-r1.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app-antivirus/clamav/clamav-0.104.0-r1.ebuild b/app-antivirus/clamav/clamav-0.104.0-r1.ebuild index 138b4e8373b1..3fb0c27cd996 100644 --- a/app-antivirus/clamav/clamav-0.104.0-r1.ebuild +++ b/app-antivirus/clamav/clamav-0.104.0-r1.ebuild @@ -167,10 +167,11 @@ src_install() { if use doc ; then local HTML_DOCS=( docs/html/. ) einstalldocs + fi - if ! use libclamav-only ; then - doman docs/man/*.[1-8] - fi + # Don't install man pages for utilities we didn't install + if use libclamav-only ; then + rm -r "${ED}"/usr/share/man || die fi find "${ED}" -name '*.la' -delete || die |