summaryrefslogtreecommitdiffstats
path: root/abs/core/mlocate/updatedb.cron.daily
blob: b457cf81100284aa9560638fabd71d43321791d5 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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