Le mar 13/01/2004 à 08:55, Joey Shen a écrit : > 2. How could we display some license information when running rpm -i > before the package is really being installed? -i already gives you the license name. If you put the license text in %doc with a LICENSE filename any admin will be able to get it when he needs to. If you can't be bothered to provide the license in a separate file/paper format why should the admin be forced to see it at every single installation ? This kind of force-feeding is why a major part of linux users switched to a free OS. > This case is a little bit > like MSI process, the installation UI would display some license text > and ask if the user want to continue, if the answer is no, installation > will exit in peace. Can rpm do the same thing (instead of echoing the > text and detecting user inputs in preinstall script)? rpm install is supposed to be non-interactive. In particular with modern tools like apt you won't get any user before the screen during installation (particularly if the process is run as a cron job). Any interactive part in rpm scriplets is an absolute no-go. It will annoy the hell out of your users/customers. If they absolutely need your software someone will repackage it just to kill the license part (like jpackage does from sun braindamaged jvms). If they don't don't expect to see them back again. Just put the license in the usual place, or (better) use a standard one so people don't have to look a it once they've seen its name and you'll be ok. Modern cars have all the electronics necessary to refuse to start before the driver has heard the full warranty disclaimer. Yet not a single carmaker even dreams of subjecting its customers to this (and cars can *kill*, and customers have been known to sue carmakers). Please cool down a bit and consider if you really need to replicate all that other OS processes. You don't. And if you think a bit, providing the Windows experience to people that choose to dump Windows is not the best way to win significant market share. Cheers, -- Nicolas Mailhot
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=