summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/cronbase/cronbase-0.3.2-r1.ebuild')
-rw-r--r--sys-process/cronbase/cronbase-0.3.2-r1.ebuild26
1 files changed, 12 insertions, 14 deletions
diff --git a/sys-process/cronbase/cronbase-0.3.2-r1.ebuild b/sys-process/cronbase/cronbase-0.3.2-r1.ebuild
index b72dffc58a6a..56dd17d47e6b 100644
--- a/sys-process/cronbase/cronbase-0.3.2-r1.ebuild
+++ b/sys-process/cronbase/cronbase-0.3.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/cronbase-0.3.2-r1.ebuild,v 1.1 2007/09/26 21:36:27 falco Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/cronbase-0.3.2-r1.ebuild,v 1.2 2007/09/26 21:59:53 falco Exp $
inherit eutils
@@ -31,18 +31,16 @@ src_install() {
}
pkg_postinst() {
- if has_version '<sys-process/cronbase-0.3.2-r1' ; then
- echo
- elog "Previous ebuilds didn't enforce proper permissions on already"
- elog "existing directories. Appropriate permissions are now being set on"
- elog "${ROOT}/etc/cron.{hourly,daily,weekly,monthly},"
- elog "${ROOT}/var/spool/cron/ and ${ROOT}/var/spool/cron/lastrun/"
- elog "(see bug 182998)"
- echo
- chmod 0750 "${ROOT}"/etc/cron.{hourly,daily,weekly,monthly} \
- || die "chmod failed"
- chmod 0750 "${ROOT}"/var/spool/{cron,cron/lastrun} || die "chmod failed"
- chown root:cron "${ROOT}/var/spool/cron" || die "chown failed"
- fi
+ echo
+ elog "Portage doesn't enforce proper permissions on already existing"
+ elog "directories (bug 141619). Appropriate permissions are now being set"
+ elog "on ${ROOT}/etc/cron.{hourly,daily,weekly,monthly},"
+ elog "${ROOT}/var/spool/cron/ and ${ROOT}/var/spool/cron/lastrun/"
+ elog "(see bug 182998)"
+ echo
+ chmod 0750 "${ROOT}"/etc/cron.{hourly,daily,weekly,monthly} \
+ || die "chmod failed"
+ chmod 0750 "${ROOT}"/var/spool/{cron,cron/lastrun} || die "chmod failed"
+ chown root:cron "${ROOT}/var/spool/cron" || die "chown failed"
}