Files
void-packages/templates/findutils/files/updatedb.cron-daily
Juan RP e602e6662d findutils: add a daily cron job, bumprev.
--HG--
extra : convert_revision : 6de3633eb9595bf310c2d4b26d756f563b8df503
2009-03-28 18:49:03 +01:00

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