#!/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