From: Sergei Trofimovich Date: Sat, 9 Nov 2019 15:55:52 +0000 (+0000) Subject: dev-lang/nim: drop redundant 'insinto' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ec1c387376c18094a713e336bd033001bcbdac7;p=gentoo.git dev-lang/nim: drop redundant 'insinto' Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich --- 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} }