Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Hannu E K Nevalainen" To: "Mark Blackburn" , , Subject: RE: problem with lftp 2.6.8-1 postinstall script Date: Sat, 8 Nov 2003 17:18:49 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <3FAC8B25.5000702@fangorn.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal > From: Mark Blackburn > Sent: Saturday, November 08, 2003 7:20 AM > I apologize for the trouble this is causing people. I'm looking into > this problem now. > I didn't test the install with setup. I just ran my postinstall script > by hand to test it. I don't know why installing with setup is having > this effect. > > For now I suggest that no one installs the lftp-2.6.8 package. > > I also ask that this package be removed from the cygwin.com ftp server > until I can package a 2.6.8-2 version. > > Mark Blackburn The problems is: lfpt.sh expects to have a console around, a user and keyboard attached. But this isn't the case for postinstall scripts when they get run from setup. to get rid of the problem fast: $ diff -up lftp.sh.original lftp.sh.done --- lftp.sh.original 2003-11-07 20:42:56.000000000 +0100 +++ lftp.sh.done 2003-11-07 20:54:06.000000000 +0100 @@ -34,6 +34,7 @@ request() } # Check if lftp.conf exists. If yes, ask for overwriting +export auto_answer="no" if [ -f "${SYSCONFDIR}/lftp.conf" ] then /Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E -- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); -- --END OF MESSAGE-- -- 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/