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