1 |
commit: 681238954cf87450c231ff637ac87bf69fad310f |
2 |
Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 30 13:36:46 2016 +0000 |
4 |
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 30 13:37:10 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68123895 |
7 |
|
8 |
app-admin/logrotate: simple safe sed line to fix bug 589854 |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
app-admin/logrotate/logrotate-3.9.2-r1.ebuild | 1 + |
13 |
1 file changed, 1 insertion(+) |
14 |
|
15 |
diff --git a/app-admin/logrotate/logrotate-3.9.2-r1.ebuild b/app-admin/logrotate/logrotate-3.9.2-r1.ebuild |
16 |
index 62b75e9..60b8363 100644 |
17 |
--- a/app-admin/logrotate/logrotate-3.9.2-r1.ebuild |
18 |
+++ b/app-admin/logrotate/logrotate-3.9.2-r1.ebuild |
19 |
@@ -30,6 +30,7 @@ RDEPEND="${CDEPEND} |
20 |
cron? ( virtual/cron )" |
21 |
|
22 |
install_cron_file() { |
23 |
+ sed -i 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.cron |
24 |
exeinto /etc/cron.daily |
25 |
newexe "${S}"/examples/logrotate.cron "${PN}" |
26 |
} |