commit: 681238954cf87450c231ff637ac87bf69fad310f
Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 13:36:46 2016 +0000
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 13:37:10 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68123895
app-admin/logrotate: simple safe sed line to fix bug 589854
Package-Manager: portage-2.3.0
app-admin/logrotate/logrotate-3.9.2-r1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-admin/logrotate/logrotate-3.9.2-r1.ebuild
b/app-admin/logrotate/logrotate-3.9.2-r1.ebuild
index 62b75e9..60b8363 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}"
}