diff options
author | Sebastian Pipping <sping@gentoo.org> | 2022-01-25 23:13:08 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2022-01-25 23:15:59 +0100 |
commit | 6494db7558c59865210047862093f49e5cf06dc2 (patch) | |
tree | e93e7235d1e0e3a20a3c9feaa966175018b8587e /app-portage/metagen | |
parent | sys-fs/compsize: sync live ebuild keywords (diff) | |
download | gentoo-6494db7558c59865210047862093f49e5cf06dc2.tar.gz gentoo-6494db7558c59865210047862093f49e5cf06dc2.tar.bz2 gentoo-6494db7558c59865210047862093f49e5cf06dc2.zip |
app-portage/metagen: Fix 0.7.3 install
Closes: https://bugs.gentoo.org/832069
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Diffstat (limited to 'app-portage/metagen')
-rw-r--r-- | app-portage/metagen/metagen-0.7.3.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app-portage/metagen/metagen-0.7.3.ebuild b/app-portage/metagen/metagen-0.7.3.ebuild index 27aa691fbac3..f369cca5158a 100644 --- a/app-portage/metagen/metagen-0.7.3.ebuild +++ b/app-portage/metagen/metagen-0.7.3.ebuild @@ -23,9 +23,11 @@ python_install_all() { distutils-r1_python_install_all doman docs/metagen.1 - # Bug 814545 - mv "${ED}"/usr/share/doc/${P}/* "${ED}"/usr/share/doc/${PF}/ || die - rmdir "${ED}"/usr/share/doc/${P}/ || die + # Bug 814545 and 832069 + if [[ ${PF} != ${P} ]]; then # to be robust across bumps + mv "${ED}"/usr/share/doc/${P}/* "${ED}"/usr/share/doc/${PF}/ || die + rmdir "${ED}"/usr/share/doc/${P}/ || die + fi } python_test() { |