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

Re: rpm user input



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.

Attachment: signature.asc
Description: This is a digitally signed message part


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