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. 

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?

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to