Re: %config, %config(noreplace) and %post-install actions

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

 



rpm -i main-1.00-0.rpm

#provides main-1.00-0, main_config-1.00-default

rpm -qf /etc/main-config
main_config-1.00-default

rpm -U /usr/share/main/1.00/localizedconfigs/main_config-1.00-FR.rpm

#provides main_config-1.00-FR obsoletes main_config-1.00-default

rpm -qf /etc/main-config
main_config-1.00-FR


does this explain it better?

We also build RPMs in the post config for some systems, then send the src back to us and install the rpm.

Jason Pyeron



On Thu, 7 Jul 2005, Adam Welch wrote:

Thanks for your input.  This certainly could work, except that the
configuration files that I package often cannot source a config file.
Thus the need for a more involved approach, such as that suggested by
Rodrigo Barbosa, which I had hoped could be avoided.

Adam

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (443) 921-0381                 Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.


[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