Title: RE: Interactive mode during RPM installation

The shell script which rpm runs is a interactive one, so it should ask user some data for user customization.


David


>On Tue, Feb 03, 2004 at 11:25 AM +0200, Tzafrir Cohen wrote:

> In rpm you should generally avoind any terminal input in the
 >pre and post scripts. This prevents automation.
 
 >Why exactly do you need user input?

>
>
> On Tue, Feb 03, 2004 at 11:03:19AM +0200, Avrahami David wrote:
> > Hi ,
> > During RPM installation I need to get some parameters from user.
> > I tried to add "read" command in SPEC file ( in %post tag ),
> > but during installation program doesn't wait for user input.
> > What should I do in order to transfer parameters during RPM
> installation ?
> > Please help.
>
>
> --
> Tzafrir Cohen                       +---------------------------+
> http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
> mailto:[EMAIL PROTECTED]       +---------------------------+
>

Reply via email to