Package: man-db
Version: 2.8.5-1
Severity: minor

Hi,

/etc/cron.daily/man-db goes:

"""
$ less /etc/cron.daily/man-db
#!/bin/sh
#
# man-db cron daily

set -e

if [ -d /run/systemd/system ]; then
    # Skip in favour of systemd timer.
    exit 0
fi

# [...]

# expunge old catman pages which have not been read in a week
if [ ! -d /run/systemd/system ] && [ -d /var/cache/man ]; then

[...]
"""

The first condition in the second (shown) if-statement redundant as
the very first if-statement in the cronjob ensures it is always true.

Thanks,
~Niels

Reply via email to