From e7884216021e4a95a3ac2148fb6f4aa7273a4f62 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 5 Apr 2020 11:40:06 +0200 Subject: [PATCH] dev-lang/ruby: fix deprecated insinto Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff --- dev-lang/ruby/ruby-2.4.10.ebuild | 3 +-- dev-lang/ruby/ruby-2.5.8.ebuild | 3 +-- dev-lang/ruby/ruby-2.6.6.ebuild | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/dev-lang/ruby/ruby-2.4.10.ebuild b/dev-lang/ruby/ruby-2.4.10.ebuild index 6390f061d4c4..c9c2530eda52 100644 --- a/dev-lang/ruby/ruby-2.4.10.ebuild +++ b/dev-lang/ruby/ruby-2.4.10.ebuild @@ -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* diff --git a/dev-lang/ruby/ruby-2.5.8.ebuild b/dev-lang/ruby/ruby-2.5.8.ebuild index 6b82c1bbd99e..a9c646d7638c 100644 --- a/dev-lang/ruby/ruby-2.5.8.ebuild +++ b/dev-lang/ruby/ruby-2.5.8.ebuild @@ -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* diff --git a/dev-lang/ruby/ruby-2.6.6.ebuild b/dev-lang/ruby/ruby-2.6.6.ebuild index d8c52f1d99a3..964dc3f416e5 100644 --- a/dev-lang/ruby/ruby-2.6.6.ebuild +++ b/dev-lang/ruby/ruby-2.6.6.ebuild @@ -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* -- 2.26.2