diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-05-03 20:02:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-05-03 20:02:42 +0000 |
commit | 0a3d285af6ecba66a37eda759d13040d5ff86107 (patch) | |
tree | 67c13e8bd7b792cf68be423298555ffc154a7b86 /sys-apps/man | |
parent | Version bumped. finally closes 49183 (diff) | |
download | historical-0a3d285af6ecba66a37eda759d13040d5ff86107.tar.gz historical-0a3d285af6ecba66a37eda759d13040d5ff86107.tar.bz2 historical-0a3d285af6ecba66a37eda759d13040d5ff86107.zip |
remove .cron from makewhatis #40506
Diffstat (limited to 'sys-apps/man')
-rw-r--r-- | sys-apps/man/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/man/man-1.5m-r1.ebuild | 13 |
2 files changed, 15 insertions, 3 deletions
diff --git a/sys-apps/man/ChangeLog b/sys-apps/man/ChangeLog index 52bec1e7f3d4..ee2c9f63e6f8 100644 --- a/sys-apps/man/ChangeLog +++ b/sys-apps/man/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for sys-apps/man # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.45 2004/05/01 21:07:52 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.46 2004/05/03 20:02:42 vapier Exp $ *man-1.5m-r1 (01 May 2004) + 03 May 2004; Mike Frysinger <vapier@gentoo.org> : + Install cronjob as makewhatis instead of makewhatis.cron #40506 by Peter Simons. + 01 May 2004; Bryan Østergaard <kloeri@gentoo.org> +man-1.5m-r1.ebuild: Add posix sections to MANSECT, bug #47806. diff --git a/sys-apps/man/man-1.5m-r1.ebuild b/sys-apps/man/man-1.5m-r1.ebuild index 53d8f0405d05..a759eccef1a9 100644 --- a/sys-apps/man/man-1.5m-r1.ebuild +++ b/sys-apps/man/man-1.5m-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.5m-r1.ebuild,v 1.1 2004/05/01 21:07:52 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.5m-r1.ebuild,v 1.2 2004/05/03 20:02:42 vapier Exp $ inherit eutils @@ -102,7 +102,7 @@ src_install() { # Needed for makewhatis keepdir /var/cache/man exeinto /etc/cron.weekly - doexe ${FILESDIR}/makewhatis.cron + newexe ${FILESDIR}/makewhatis.cron makewhatis fowners root:man /usr/bin/man fperms 2555 /usr/bin/man @@ -118,3 +118,12 @@ src_install() { keepdir /var/cache/man/${x} done } + +pkg_postinst() { + local files="`ls ${ROOT}/etc/cron.{daily,weekly}/makewhatis{,.cron} 2>/dev/null`" + if [ "${files/$'\n'}" != "${files}" ] ; then + ewarn "You have multiple makewhatis cron files installed." + ewarn "You might want to delete all but one of these:" + echo ${files} + fi +} |