Comment 0 for bug 1321

Revision history for this message
Ralph Corderoy (ralph-inputplus) wrote :

/etc/cron.daily/sn doesn't allow for no automatic expiration of
articles. Deleting the file would stop `RUNFROM = cron' working. I've
added a test of EXPIRETIME, allowing `never' to be set in
/etc/news/sn/debian-config. Perhaps this can be adopted officially?

    EXPIRETIME=7d
    test -f /etc/news/sn/debian-config && . /etc/news/sn/debian-config

--> test "$EXPIRETIME" != never &&
    for f in *
    do
        ...
    done

    if [ "$RUNFROM" = cron ]; then
        /usr/sbin/snget >/dev/null 2>&1 &
    fi