diff options
author | Raphaël Marichez <falco@gentoo.org> | 2007-09-26 21:59:53 +0000 |
---|---|---|
committer | Raphaël Marichez <falco@gentoo.org> | 2007-09-26 21:59:53 +0000 |
commit | 81849d51f52b662b9c78774bd1eee2c5a8197b3f (patch) | |
tree | 33b94a418f0433b9978c5b11e1745b315339f46b /sys-process/cronbase/cronbase-0.3.2-r1.ebuild | |
parent | Version bump to 2.0.1 Bug #191636 (diff) | |
download | historical-81849d51f52b662b9c78774bd1eee2c5a8197b3f.tar.gz historical-81849d51f52b662b9c78774bd1eee2c5a8197b3f.tar.bz2 historical-81849d51f52b662b9c78774bd1eee2c5a8197b3f.zip |
Unconditionally change directories permissions (working around bug 141619)
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'sys-process/cronbase/cronbase-0.3.2-r1.ebuild')
-rw-r--r-- | sys-process/cronbase/cronbase-0.3.2-r1.ebuild | 26 |
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" } |