man-db: add a daily cron job to rebuild manpages cache.
--HG-- extra : convert_revision : 87e1ba47ca266f9a0510d38f94927815bf33da79
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Template file for 'man-db'
|
||||
pkgname=man-db
|
||||
version=2.5.4
|
||||
revision=1
|
||||
distfiles="${NONGNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--with-db=gdbm --with-pager=less --with-gzip=/usr/bin/gzip
|
||||
@@ -24,3 +25,10 @@ Add_dependency full gdbm
|
||||
Add_dependency full groff
|
||||
Add_dependency full grep
|
||||
Add_dependency full lzma-utils
|
||||
|
||||
post_install()
|
||||
{
|
||||
# Install the cron daily job.
|
||||
install -D -m755 ${FILESDIR}/mann-db.cron-daily \
|
||||
${DESTDIR}/etc/cron.daily/man-db
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user