This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: problem with lftp 2.6.8-1 postinstall script


> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]