commit:     5e12c3becdcc39bad4710f2ffc4ad918ca25abae
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sun Jan 18 13:31:28 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 25 06:39:07 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e12c3be

sys-process/fcron: install docs to correct -r1 dir

Closes: https://bugs.gentoo.org/968850
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/45426
Closes: https://github.com/gentoo/gentoo/pull/45426
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.4.0-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-process/fcron/fcron-3.4.0-r1.ebuild 
b/sys-process/fcron/fcron-3.4.0-r1.ebuild
index 90eb523f67e9..b8c58dc1779c 100644
--- a/sys-process/fcron/fcron-3.4.0-r1.ebuild
+++ b/sys-process/fcron/fcron-3.4.0-r1.ebuild
@@ -183,6 +183,11 @@ src_install() {
 
        local DOCS=( "${WORKDIR}/crontab" )
        einstalldocs
+
+       if [[ ${PR} != r0 ]]; then
+               mv "${ED}"/usr/share/doc/{${P}/*,${PF}/} || die
+               rmdir "${ED}"/usr/share/doc/${P} || die
+       fi
 }
 
 pkg_postinst() {

Reply via email to