On Thu, 2004-02-05 at 01:14, Steve Connell wrote: > Hi - > > I have been assigned the task of finding an installation method for my > company's software for Linux, and it seems that using command line RPM > is the best way to go about this. The problem, however, is that I > must meet a requirement to display an "End User License Agreement" > (EULA for short), which our customers who use the software must agree > to before being allowed to continue with the installation. > > I have tried to add a "read" command in the %pre section, in order to > ask the user if they agree to this EULA, but this does not work for > some reason. I have seen other questions posted regarding similar > problems with reads in %pre, and the responses have basically said > that you can't and shouldn't do this. > > Does anyone know a way to incorporate a EULA into a command line RPM > "install?" Is it true that there is absolutely no way to query the > user for input inside of %pre? If I can't find a way to meet this > requirement, my boss is going to recall the use of RPM from our > project's plan. RPM seems to be a very useful and powerful tool, and > it would be really disappointing if we have to omit it because of > this. No. Rpm isn't the right place to do that, one of the design goals of rpm is the guarantee of non-interactive installation. Ask the EULA-question on first software launch per each user instead. - Panu - _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list