%postin hackery, passing arguments to post-install script/program

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

 



Hello, all -

I have a unique situation here. Upon installation of my RPM, I need to run a command, that is unable to take command-line arguments, and need to "step through" it in order to make some final preperations for my RPM installation.

I think the tool to use for something like this would be 'expect'. I need to run this program and when it prompts for a few questions, I need to answer them accordingly.

So I'm pretty sure, as I said, 'expect' is what I'll need to use in a situation like that. I was wondering, however, if anyone else has come across a situation like this, and if so, how did you go about doing it? Did you use 'expect', or some other utility?

Thanks again for your time
-dant


[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