Re: rpm user input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 10, 2008 at 11:09:41PM +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.

Yes, but be aware that this is "not-done" and that such an RPM will
always be considered an example of bad packaging (and the author will
be flamed forever ;-)).

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux