PKGBUILDs/core/mlocate/updatedb.cron.daily

11 lines
180 B
Text
Raw Normal View History

2009-10-10 02:17:35 +00:00
#!/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