commit:     2645610b9a3fbdfb443866177a6d5b38148c3197
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 12 06:15:02 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Sep 12 06:15:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2645610b

sci-mathematics/alt-ergo: fix BadInsIntoDir warning

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-mathematics/alt-ergo/alt-ergo-1.30.ebuild  | 3 +--
 sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sci-mathematics/alt-ergo/alt-ergo-1.30.ebuild 
b/sci-mathematics/alt-ergo/alt-ergo-1.30.ebuild
index 80b72760c86..197ea8a7f2d 100644
--- a/sci-mathematics/alt-ergo/alt-ergo-1.30.ebuild
+++ b/sci-mathematics/alt-ergo/alt-ergo-1.30.ebuild
@@ -29,6 +29,5 @@ src_compile() {
 src_install() {
        default
        use gtk && emake DESTDIR="${D}" install-gui
-       insinto /usr/share/doc/${PF}
-       use examples && doins -r examples
+       use examples && dodoc -r examples
 }

diff --git a/sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild 
b/sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild
index 321faff324c..e3bbcdb317f 100644
--- a/sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild
+++ b/sci-mathematics/alt-ergo/alt-ergo-2.3.0.ebuild
@@ -37,8 +37,7 @@ src_compile() {
 src_install() {
        default
        use gtk && emake DESTDIR="${D}" install-gui
-       insinto /usr/share/doc/${PF}
-       use examples && doins -r examples
+       use examples && dodoc -r examples
        mv "${D}"/usr/doc/* "${D}"/usr/share/doc/${PF}/ || die
        rmdir "${D}"/usr/doc || die
 }

Reply via email to