#!/bin/sh
# Read system defaults.
if [ -r /etc/updatedb.conf ]; then
. /etc/updatedb.conf
fi
# Update the "locate" database
if [ -x /usr/bin/updatedb ]; then
env PRUNEFS="$PRUNEFS" PRUNEPATHS="$PRUNEPATHS" /usr/bin/updatedb