From 6fdcb2f2e2bd6d9a5d1067241f1e67842ac13704 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Sat, 21 Jan 2017 23:11:11 +0100 Subject: [PATCH] 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 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 } -- 2.26.2