summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-05-19 14:12:34 -0400
committerMike Frysinger <vapier@gentoo.org>2016-05-19 14:16:27 -0400
commit5fbd250e0b5f0d5943db6bcaf9df645d4314d4b1 (patch)
treef4d94ac9a7d02459e00d1aa083d0a960b0ed24f9 /sys-process/dcron
parentapp-office/homebank: bump to 5.0.7 (diff)
downloadgentoo-5fbd250e0b5f0d5943db6bcaf9df645d4314d4b1.tar.gz
gentoo-5fbd250e0b5f0d5943db6bcaf9df645d4314d4b1.tar.bz2
gentoo-5fbd250e0b5f0d5943db6bcaf9df645d4314d4b1.zip
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.
Diffstat (limited to 'sys-process/dcron')
-rw-r--r--sys-process/dcron/dcron-4.5-r1.ebuild8
1 files changed, 0 insertions, 8 deletions
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
-}