Skip to content

Commit

Permalink
dev-libs/botan: fix doc install
Browse files Browse the repository at this point in the history
Oops.

Closes: https://bugs.gentoo.org/910232
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jul 12, 2023
1 parent 0cb1e94 commit 230179d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-libs/botan/botan-3.1.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ src_test() {
src_install() {
default

if [[ -d "${ED}"/usr/share/doc/${P} ]] ; then
if [[ -d "${ED}"/usr/share/doc/${P} && ${P} != ${PF} ]] ; then
# --docdir in configure controls the parent directory unfortunately
mv "${ED}"/usr/share/doc/${P} "${ED}"/usr/share/doc/${PF} || die
fi
Expand Down

0 comments on commit 230179d

Please sign in to comment.