X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Eric Blake <ebb9@byu.net>
Subject:  Re: [ANNOUNCEMENT] Updated: cron 4.1-1
Date: Wed, 11 Apr 2007 15:37:30 +0000 (UTC)
Lines: 18
Message-ID:  <loom.20070411T173543-396@post.gmane.org>
References:  <announce.3.0.1.32.20070411064934.00ba6708@incoming.verizon.net>  <461CEAAC.7040608@mscha.nl>  <010a01c77c43$e1ea24e0$3c0110ac@wirelessworld.airvananet.com>  <461CEEE0.7040202@mscha.nl>  <011601c77c45$e87c8210$3c0110ac@wirelessworld.airvananet.com>  <461CF3E6.2050802@mscha.nl> <012001c77c4b$7a144a50$3c0110ac@wirelessworld.airvananet.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

