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

Re: Automatic input while building a package



On Tue, Aug 08, 2000 at 02:47:05PM -0300, Jose Romildo Malaquias wrote:
> I am building an RPM package for the listings LaTeX package.
> The building process is interactive and the install procedure
> goes through some y/n questions.

You basically have two options: 1) Feed answers to the script somehow
(for example, expect might work out or just piping in "Y" and "N",
seperated by new lines) or 2) patch the script not to ask any
questions but assume defaults instead.

I'd suggest the second option. It will be almost equal work but
especially when there are changes in the package that change the
questions, you'll know it because the patch doesn't apply
cleanly. Otherwise, you might be giving completely wrong answers to
changed questions.

-- 

Ingo





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