summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2016-07-30 09:36:46 -0400
committerZero_Chaos <zerochaos@gentoo.org>2016-07-30 09:37:10 -0400
commit681238954cf87450c231ff637ac87bf69fad310f (patch)
tree09e18a69e079c831572d71a91094454066a3a7fe /app-admin/logrotate
parentnet-dns/pdns-recursor: Version bump (diff)
downloadgentoo-681238954cf87450c231ff637ac87bf69fad310f.tar.gz
gentoo-681238954cf87450c231ff637ac87bf69fad310f.tar.bz2
gentoo-681238954cf87450c231ff637ac87bf69fad310f.zip
app-admin/logrotate: simple safe sed line to fix bug 589854
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-admin/logrotate')
-rw-r--r--app-admin/logrotate/logrotate-3.9.2-r1.ebuild1
1 files changed, 1 insertions, 0 deletions
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}"
}