11 lines
180 B
Bash
Executable File
11 lines
180 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Update the "locate" database
|
|
if [ -x /usr/bin/updatedb ]; then
|
|
if [ -f /etc/updatedb.conf ]; then
|
|
/usr/bin/updatedb
|
|
else
|
|
/usr/bin/updatedb -f proc
|
|
fi
|
|
fi
|