From: Patrice Clement Date: Sat, 21 Jan 2017 22:11:11 +0000 (+0100) Subject: app-misc/calendar: use insinto/doins instead of cp and clear error. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6fdcb2f2e2bd6d9a5d1067241f1e67842ac13704;p=gentoo.git 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 --- diff --git a/app-misc/calendar/calendar-0.9.1-r1.ebuild b/app-misc/calendar/calendar-0.9.1-r1.ebuild index f320572b6a3d..f21f5c23c7a8 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 }