projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1fe9a4
)
sys-process/dcron: drop old /var/run pid file rename
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 19 May 2016 18:12:34 +0000
(14:12 -0400)
committer
Mike 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
patch
|
blob
|
history
diff --git
a/sys-process/dcron/dcron-4.5-r1.ebuild
b/sys-process/dcron/dcron-4.5-r1.ebuild
index c1c26f0268256f4dbbf5b2ef177af0a1444b460c..3e30b5658edb075c3b19abca6530a65344cc113d 100644
(file)
--- 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
-}