From: Mike Frysinger Date: Thu, 19 May 2016 18:12:34 +0000 (-0400) Subject: sys-process/dcron: drop old /var/run pid file rename X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5fbd250e0b5f0d5943db6bcaf9df645d4314d4b1;p=gentoo.git sys-process/dcron: drop old /var/run pid file rename Since the run dir is cleared all the time, we don't really need this. --- diff --git a/sys-process/dcron/dcron-4.5-r1.ebuild b/sys-process/dcron/dcron-4.5-r1.ebuild index c1c26f026825..3e30b5658edb 100644 --- a/sys-process/dcron/dcron-4.5-r1.ebuild +++ b/sys-process/dcron/dcron-4.5-r1.ebuild @@ -46,11 +46,3 @@ src_install() { insinto /etc/logrotate.d newins extra/crond.logrotate dcron } - -pkg_postinst() { - # upstream renamed their pid file - local src="${ROOT}/var/run/cron.pid" dst="${ROOT}/var/run/crond.pid" - if [ -e "${src}" -a ! -e "${dst}" ] ; then - cp "${src}" "${dst}" - fi -}