This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: cron 4.1-1
Pierre A. Humblet <Pierre.Humblet <at> ieee.org> writes:
>
> OK, I see what's happening.
> [ -e /usr/sbin/sendmail ] as well as [ -L /usr/sbin/sendmail ] are true
> when sendmail does not exist while sendmail.exe does.
> I need a much more elaborate test to detect when both exist.
Or, you can wait for me to release coreutils 6.9-1, where 'ln -sf' will take
care of the broken sendmail.exe link at the same time as creating the working
plain sendmail link.
But FWIW, I agree with the sentiment that your postinstall script should NOT be
touching sendmail; you should be saving that for cron-config.
--
Eric Blake
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/