From: Zero_Chaos Date: Sat, 30 Jul 2016 13:36:46 +0000 (-0400) Subject: app-admin/logrotate: simple safe sed line to fix bug 589854 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=681238954cf87450c231ff637ac87bf69fad310f;p=gentoo.git app-admin/logrotate: simple safe sed line to fix bug 589854 Package-Manager: portage-2.3.0 --- diff --git a/app-admin/logrotate/logrotate-3.9.2-r1.ebuild b/app-admin/logrotate/logrotate-3.9.2-r1.ebuild index 62b75e9e94d1..60b8363956eb 100644 --- a/app-admin/logrotate/logrotate-3.9.2-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.9.2-r1.ebuild @@ -30,6 +30,7 @@ RDEPEND="${CDEPEND} cron? ( virtual/cron )" install_cron_file() { + sed -i 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.cron exeinto /etc/cron.daily newexe "${S}"/examples/logrotate.cron "${PN}" }