#!/bin/sh # Only do anything if swish-e is actually installed if [ ! -x /usr/bin/swish-e ]; then exit 0 fi # update index swish-e -c /etc/swish.config