sci-visualization/epix: [QA] Fix BadInsIntoDir
authorMichał Górny <mgorny@gentoo.org>
Tue, 5 Nov 2019 18:27:19 +0000 (19:27 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 5 Nov 2019 18:29:39 +0000 (19:29 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-visualization/epix/epix-1.2.11-r2.ebuild

index d63c60e45ac85df3374df56b9ede64dc64692f6b..dd9b328f5f11648110525a52dff9fa5643e4c90c 100644 (file)
@@ -47,12 +47,11 @@ src_install() {
        newbashcomp bash_completions epix
        bashcomp_alias epix flix elaps laps
        if use doc; then
-               insinto /usr/share/doc/${PF}
-               doins doc/*gz
+               dodoc doc/*gz
        fi
        if use examples; then
-               cd samples
-               insinto /usr/share/doc/${PF}/examples
+               cd samples || die
+               docinto examples
                doins *.xp *.flx *c *h README
        fi
 }