dev-lang/ruby: fix deprecated insinto
authorHans de Graaff <graaff@gentoo.org>
Sun, 5 Apr 2020 09:40:06 +0000 (11:40 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sun, 5 Apr 2020 09:43:33 +0000 (11:43 +0200)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-lang/ruby/ruby-2.4.10.ebuild
dev-lang/ruby/ruby-2.5.8.ebuild
dev-lang/ruby/ruby-2.6.6.ebuild

index 6390f061d4c45418f45f0e845714ad10bda34e70..c9c2530eda528c8df1cdc413d63d18e0db997875 100644 (file)
@@ -198,8 +198,7 @@ src_install() {
        fi
 
        if use examples; then
-               insinto /usr/share/doc/${PF}
-               doins -r sample
+               dodoc -r sample
        fi
 
        dodoc ChangeLog NEWS doc/NEWS* README*
index 6b82c1bbd99ed6fc4b8ebeecc04383e3d0e0a30f..a9c646d7638cdc796b0d37b19b56511d03eafc63 100644 (file)
@@ -193,8 +193,7 @@ src_install() {
        fi
 
        if use examples; then
-               insinto /usr/share/doc/${PF}
-               doins -r sample
+               dodoc -r sample
        fi
 
        dodoc ChangeLog NEWS doc/NEWS* README*
index d8c52f1d99a3c8922220e4415326346dea06466a..964dc3f416e5e9fab05ba76d222fb8b4b4e3e087 100644 (file)
@@ -205,8 +205,7 @@ src_install() {
        fi
 
        if use examples; then
-               insinto /usr/share/doc/${PF}
-               doins -r sample
+               dodoc -r sample
        fi
 
        dodoc ChangeLog NEWS doc/NEWS* README*