Package: xtide
Version: xtide_2.9.5-3
Severity: minor

/etc/cron.weekly/xtide claims to be useful only on oldoldoldstable
(or perhaps oldoldoldoldstable):

> #!/bin/sh
> # Rotate xtide's xttpd server file if logrotate is not used
>
> set -e
>
> # Only rotate if package is installed
> test -f /usr/sbin/xttpd || exit 0
>
> # Only rotate if daemon is actually configured to run.
> grep '^PORT' /etc/init.d/xttpd >/dev/null ||   exit 0
>
> # Only rotate if logrotate is not installed (Slink and perhaps potato)
> test ! -f /usr/sbin/logrotate || exit 0
>
> if [ -f /var/log/xttpd ]; then
>    savelog -g adm -m 644 -u root -c 4 /var/log/xttpd > /dev/null
> fi
>
> /etc/init.d/xttpd restart > /dev/null

In principle, however, I might indeed have xtide but not logrotate
installed on a Lenny system.  So I'll leave it up to you whether
xtide should
a) drop this cronjob and assume that people who remove logrotate
        understand the likely consequences, or
b) merely cut the reference to twentieth-century releases in the
        comment line...

Either way, adding a "Suggests/Recommends: logrotate" wouldn't hurt.
-- 
JBR
Ankh kak! (Ancient Egyptian blessing)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to