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.
This commit is contained in:
Mike Frysinger
2016-05-19 14:12:34 -04:00
parent d1fe9a4b63
commit 5fbd250e0b

View 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
}