#!/bin/sh -e

# If it's configured
if [ -f /etc/newscache.conf ]; then
    /usr/bin/updatenews > /dev/null
    /usr/sbin/cacheclean > /dev/null
fi
