commit: 6fdcb2f2e2bd6d9a5d1067241f1e67842ac13704 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Sat Jan 21 22:11:11 2017 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Sat Jan 21 22:11:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fdcb2f2
app-misc/calendar: use insinto/doins instead of cp and clear error. Gentoo-Bug: https://bugs.gentoo.org/606668 Package-Manager: portage-2.3.0 app-misc/calendar/calendar-0.9.1-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app-misc/calendar/calendar-0.9.1-r1.ebuild b/app-misc/calendar/calendar-0.9.1-r1.ebuild index f320572..f21f5c2 100644 --- a/app-misc/calendar/calendar-0.9.1-r1.ebuild +++ b/app-misc/calendar/calendar-0.9.1-r1.ebuild @@ -22,8 +22,13 @@ src_compile() { } src_install() { - cp -R "${S}/calendars" "${D}/usr/share/calendar" || die "cp failed" dobin "${PN}" doman "${PN}.1" + + insinto "/usr/share" + doins -r "${PN}s" + + mv "${D}/usr/share/${PN}s" "${D}/usr/share/${PN}" || die + einstalldocs }