1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

There is no more point in indexing /var/db/freebsd-update than there is in

indexing /var/db/portsnap, which was already in PRUNEPATHS.

MFC after:	1 week
This commit is contained in:
Dag-Erling Smørgrav 2015-11-13 06:16:12 +00:00
parent e13d8c1244
commit af1aec74f5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290742
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
#SEARCHPATHS="/"
# paths unwanted in output
#PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/portsnap"
#PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/portsnap /var/db/freebsd-update"
# directories unwanted in output
#PRUNEDIRS=".zfs"

View File

@ -51,7 +51,7 @@ PATH=$LIBEXECDIR:/bin:/usr/bin:$PATH; export PATH
: ${mklocatedb:=locate.mklocatedb} # make locate database program
: ${FCODES:=/var/db/locate.database} # the database
: ${SEARCHPATHS="/"} # directories to be put in the database
: ${PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/portsnap"} # unwanted directories
: ${PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/portsnap /var/db/freebsd-update"} # unwanted directories
: ${PRUNEDIRS=".zfs"} # unwanted directories, in any parent
: ${FILESYSTEMS="$(lsvfs | tail -n +3 | \
egrep -vw "loopback|network|synthetic|read-only|0" | \