#! /bin/sh

if [ -x /usr/bin/updatedb ]
then
	if [ -f /etc/updatedb.conf ]
	then
		/usr/bin/updatedb
	else
		/usr/bin/updatedb -f proc
	fi
	chown root.slocate /var/lib/slocate/slocate.db
fi
