On Tuesday 03 February 2004 11:03, 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 ?
Don't know what you're trying to do, but the usual solution is to include a seperate script file for configuration in the RPM and simply print a message during the installation requesting you to run it after the installation is over and run the application via some wrapper that checks if the config script has been run and if not run it on the first start up of the application. Hope this helps, Gilad -- Gilad Ben-Yossef <[EMAIL PROTECTED]> Codefidence. A name you can trust (tm) http://www.codefidence.com "I am Jack's Overwritten Stack Pointer" -- Hackers Club, the movie ================================================================= 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]
