mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user