diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-10-28 11:09:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-10-28 11:09:21 +0000 |
commit | 35c361c05120271037d72789f2a612db2312f555 (patch) | |
tree | f2f03346ef7840e8c44a631f48a8968770d43f83 /sys-apps/man-db/files | |
parent | Version bump. Drop USE=doc, it did nothing useful. (diff) | |
download | gentoo-2-35c361c05120271037d72789f2a612db2312f555.tar.gz gentoo-2-35c361c05120271037d72789f2a612db2312f555.tar.bz2 gentoo-2-35c361c05120271037d72789f2a612db2312f555.zip |
Install daily cronjob for building caches #289884 by C W Rose.
(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/man-db/files')
-rw-r--r-- | sys-apps/man-db/files/man-db.cron | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-apps/man-db/files/man-db.cron b/sys-apps/man-db/files/man-db.cron new file mode 100644 index 000000000000..ced63900fca6 --- /dev/null +++ b/sys-apps/man-db/files/man-db.cron @@ -0,0 +1,10 @@ +#!/bin/sh + +# Use same perms/settings as the ebuild. +if [ ! -d /var/cache/man ]; then + mkdir -p /var/cache/man + chown man:root /var/cache/man + chmod 2755 /var/cache/man +fi + +exec nice mandb --quiet |