#!/bin/sh # cron script for perlindex to update the database. test -x /usr/bin/perlindex || exit 0 DIR=/var/cache/perlindex [ -d $DIR ] || mkdir $DIR && chmod 0755 $DIR perlindex -index >/dev/null 2>/dev/null