Re: rpm user input

"Brian J. Murrell" <[email protected]> Thu, 10 Apr 2008 17:13:57 -0400
Newsgroups gmane.linux.redhat.rpm.general
Organization Sun Microsystems of Canada
Message-ID <[email protected]>
On Thu, 2008-04-10 at 23:09 +0200, Toralf Lund wrote:
> You can enter any program/command in the %pre and %post sections of the 
> spec, including ones that ask for user input. These sections are 
> essentially scripts that get executed before and after the files are 
> installed, respectively. If the %pre script(let) exits with a "false" 
> (non-0) status, the rpm won't actually be installed.

Ehm.  I thought interactivity in rpm scripts was verboten.  I thought
one of the primary tenets of RPM packages is that they MUST do their
work without any interaction as interaction may not always be possible
(think batch installation).

b.

_______________________________________________
Rpm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rpm-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBH/oMVl3EQlGLyuXARAp8xAKCHHFuTcZ8RNJQlm7K0gsYeCZmC1ACfVuDr
IjttUlbEmhoCoW7y+T1FgIk=
=tKFw
-----END PGP SIGNATURE-----