Re: getting user input in %post section

2000-10-08 Thread Stanislav Meduna
Hi, > I just get user input using, > > $answer = ; Don't do that. The rpm is great for doing unattended installs - you are breaking this possibility and that the rpm closes/redirects the stdin to /dev/null is the only sane thing it can do. But this leaves another question - is there any possi

Re: getting user input in %post section

2000-10-08 Thread John Summerfield
> Hi guys, > > I'm trying to get user input during installation of an rpm. I have a > simple perl script which works fine by itself, but when run automatically > during rpm installation, it simply doesnt stop for the user input... it > just goes directly thru it. > > I just get user input using,

Re: getting user input in %post section

2000-10-07 Thread Matt Wilson
stdin is closed during script running. What if the user is using a GUI frontend to install the package like GnoRPM? Or if they are installing a package remotely via a management service? Matt On Sat, Oct 07, 2000 at 10:46:13PM -0700, Ricardo Kleemann wrote: > Hi guys, > > I'm trying to get us

getting user input in %post section

2000-10-07 Thread Ricardo Kleemann
Hi guys, I'm trying to get user input during installation of an rpm. I have a simple perl script which works fine by itself, but when run automatically during rpm installation, it simply doesnt stop for the user input... it just goes directly thru it. I just get user input using, $answer = ; w