HomeFreeBSD

check/delete-old: Fix /bin/rmail removal condition

Description

check/delete-old: Fix /bin/rmail removal condition

When WITHOUT_SENDMAIL is enabled and WITHOUT_MAILWRAPPER is disabled
we install /bin/rmail as a link to the /usr/sbin/mailwrapper.
Ensure make delete-old does not unlink /bin/rmail in that case.

PR: 266604
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D35874
MFC after: 2 weeks

(cherry picked from commit 55736146389f997fe3e2453f1d48d96ff1ad5b7a)

Details

Provenance
dchaginAuthored on Jul 21 2022, 10:20 PM
Reviewer
emaste
Differential Revision
D35874: check/delete-old: Fix /bin/rmail removal condition
Parents
rGa03b09579cdb: LinuxKPI: Use SYSCTL_FOREACH()
Branches
Unknown
Tags
Unknown