views:

295

answers:

2

Is it possbile to add License agreement in the RPM package? When user installs the RPM, it should prompt to accept the user license agreement.

+3  A: 

Don't do that; there's no guarantee that the package will be installed when there's even a display to show the license agreement. Put it in a self-extracting archive that shows the agreement on execute.

Ignacio Vazquez-Abrams
Another thing, how can we contorl the display of License agreement to the screen size? i dont want to simply cat the license file text and suer has to scroll up and see. Is it possible through shell script?
Adil
Look for the following things, in order: `$PAGER`, the presence of `less`, the presence of `more`.
Ignacio Vazquez-Abrams
+4  A: 
Colin Pickard
Thanks for such a detail explanation.> This is a bad idea for both technical and user-interface reasons.I know its bad idea, just wanted to get the expert views if we have to do it anyhow.
Adil