Re: debootstrap and interactive postinst scripts

2001-06-05 Thread Richard Hirst
On Wed, Jun 06, 2001 at 12:49:08AM +1000, Anthony Towns wrote: > On Tue, Jun 05, 2001 at 03:03:30PM +0100, Richard Hirst wrote: > > I have a problem with this; my gcc-3.0-base.deb has a postinst > > with a "read foo" in it, and a first line of "#!/bin/sh -e". > > That -e causes the script to exit

Re: debootstrap and interactive postinst scripts

2001-06-05 Thread Anthony Towns
On Tue, Jun 05, 2001 at 03:03:30PM +0100, Richard Hirst wrote: > I have a problem with this; my gcc-3.0-base.deb has a postinst > with a "read foo" in it, and a first line of "#!/bin/sh -e". > That -e causes the script to exit with code 1 when the read > fails (which it does, when directed from /d

debootstrap and interactive postinst scripts

2001-06-05 Thread Richard Hirst
Hi, debootstrap runs dpkg with stdin directed from /dev/null, to stop things being interactive. I have a problem with this; my gcc-3.0-base.deb has a postinst with a "read foo" in it, and a first line of "#!/bin/sh -e". That -e causes the script to exit with code 1 when the read fails (which it