#!/bin/sh -e

# CRON script to purge files in /var/lib/sysnews after 30 days.
# Exclude files named WELCOME/POLICY/NEWUSERS, since they are intended to
# stay for new users.  The files POLICY/NEWUSERS are not supplied by the
# Debian package because they are site-specific.
if [ -x /usr/bin/news ]; then
	news -e 30 -x WELCOME,POLICY,NEWUSERS
fi
