findutils: add /run to PRUNEPATHS in updatedb.conf.
This commit is contained in:
parent
97ac5aed72
commit
73a7986fe2
|
@ -1,7 +1,7 @@
|
|||
# Configuration file for updatedb(1) from findutils.
|
||||
#
|
||||
# Directories to exclude from the database:
|
||||
PRUNEPATHS="/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run /var/spool"
|
||||
PRUNEPATHS="/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run /var/spool /run"
|
||||
|
||||
# Filesystems to exclude from the database:
|
||||
PRUNEFS="afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs devpts"
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
# Template file for 'findutils'
|
||||
pkgname=findutils
|
||||
version=4.4.2
|
||||
revision=2
|
||||
revision=3
|
||||
homepage="http://www.gnu.org/software/findutils"
|
||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--localstatedir=/var/lib/locate"
|
||||
short_desc="The GNU Find Utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-3"
|
||||
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
|
||||
long_desc="
|
||||
The GNU Find Utilities are the basic directory searching utilitiesof the
|
||||
|
@ -23,8 +25,7 @@ Add_dependency build texinfo
|
|||
post_install()
|
||||
{
|
||||
# Install the cron daily job.
|
||||
install -D -m744 ${FILESDIR}/updatedb.cron-daily \
|
||||
${DESTDIR}/etc/cron.daily/updatedb
|
||||
vinstall ${FILESDIR}/updatedb.cron-daily 744 etc/cron.daily updatedb
|
||||
# Install the updatedb conf file.
|
||||
install -D -m640 ${FILESDIR}/updatedb.conf ${DESTDIR}/etc/updatedb.conf
|
||||
vinstall ${FILESDIR}/updatedb.conf 640 etc
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user