11 lines
231 B
Bash
Executable file
11 lines
231 B
Bash
Executable file
#!/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
|
|
fi
|