sys-process/dcron: drop old /var/run pid file rename
authorMike Frysinger <vapier@gentoo.org>
Thu, 19 May 2016 18:12:34 +0000 (14:12 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 19 May 2016 18:16:27 +0000 (14:16 -0400)
Since the run dir is cleared all the time, we don't really need this.

sys-process/dcron/dcron-4.5-r1.ebuild

index c1c26f0268256f4dbbf5b2ef177af0a1444b460c..3e30b5658edb075c3b19abca6530a65344cc113d 100644 (file)
@@ -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
-}