Files
findutils/debian/cron.find
Kevin Dalley 044832bee0 * debian/cron.find: use --localuser option so to updatedb is run as
root, but find is run as nobody
1997-01-07 08:43:28 +00:00

13 lines
277 B
Bash

#! /bin/sh
#
# cron script to update the `find.codes' database.
#
# Written by Ian A. Murdock <imurdock@debian.org> and
# Kevin Dalley <kevin@aimnet.com>
if [ -f /etc/updatedb.conf ]; then
. /etc/updatedb.conf
fi
cd / && updatedb --localuser=nobody 2>/dev/null