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

Re: Passing some parameters to a file inside the rpm ?




On Oct 19, 2006, at 9:02 AM, Lis Maria Thomas wrote:

HI

I just wanted to know whether it is possible to pass some parameters to some file(in the rpm) during rpm installation.

Suppose you have a property file inside the rpm that u have built,and I want to pass some parameter to it when I install the rpm.Is it possible?


Presumably you have some "properties" file already installed that needs modification.

That can be done in the %post scriptlet using whatever tools you want.

Make sure to test your packaging thoroughly, installing and upgrading and erasing,
as modifying a pre-exsiting file in a scriptlet tends to be fragile.

73 de Jeff


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