From 7ec1c387376c18094a713e336bd033001bcbdac7 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 9 Nov 2019 15:55:52 +0000 Subject: [PATCH] dev-lang/nim: drop redundant 'insinto' Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich --- dev-lang/nim/nim-1.0.2.ebuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/dev-lang/nim/nim-1.0.2.ebuild b/dev-lang/nim/nim-1.0.2.ebuild index bb41a8721feb..160171c5b095 100644 --- a/dev-lang/nim/nim-1.0.2.ebuild +++ b/dev-lang/nim/nim-1.0.2.ebuild @@ -60,8 +60,8 @@ src_test() { } src_install() { - PATH="./bin:$PATH" _run ./koch install "${ED%/}" - rm -r "${ED%/}/usr/share/nim/doc" || die "failed to remove 'doc'" + PATH="./bin:$PATH" _run ./koch install "${ED}" + rm -r "${ED}/usr/share/nim/doc" || die "failed to remove 'doc'" exeinto /usr/bin @@ -73,10 +73,6 @@ src_install() { doexe "${bin_exe}" done - if use doc; then - insinto /usr/share/doc/${PF} - dodoc doc/html/*.html - fi - + use doc && dodoc doc/html/*.html newbashcomp tools/nim.bash-completion ${PN} } -- 2.26.2