2009-03-28 17:49:03 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2010-11-30 15:33:19 +00:00
|
|
|
# Read system defaults.
|
|
|
|
if [ -r /etc/updatedb.conf ]; then
|
|
|
|
. /etc/updatedb.conf
|
|
|
|
fi
|
|
|
|
|
2009-03-28 17:49:03 +00:00
|
|
|
# Update the "locate" database
|
|
|
|
if [ -x /usr/bin/updatedb ]; then
|
2010-12-13 01:19:35 +00:00
|
|
|
env PRUNEFS="$PRUNEFS" PRUNEPATHS="$PRUNEPATHS" /usr/bin/updatedb
|
2009-03-28 17:49:03 +00:00
|
|
|
fi
|