On Fri, May 11, 2007 at 07:04:55PM +0530, Kumar, Manish wrote: > I am novice in RPM . I am writing a spec file in which before > installation in the %pre section I want to call a script this script > should take user input like some configuration parameters to install the > software. > This is a very frequently asked newbie question, and the answer is: don't do that. RPM is not meant to be interactive. What would a GUI tool like yumex or anaconda do when your script started asking questions mid-transaction? If you need configuration parameters, to install, make a wrapper around the RPM. But even better, make the software configure itself on first run. -- Matthew Miller mattdm@xxxxxxxxxx <http://mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/> _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list