PKGBUILDs/core/mlocate/updatedb.cron.daily
2009-10-09 21:17:35 -05:00

10 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