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.
|