Re: multiple %install for sub packages

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

 



On Tue, May 18, 2004 at 12:08:38PM -0400, James_Martin@xxxxxxxxxxxxxxx wrote:

> I can't figure out a way to have multiple subpackages point to the same 
> filename, (these files have different contents).

Not possible, AFAIK.

> I was also thinking I could just install all 3 and just link the right 
> one, but that's not the best idea..

What about this for package A (similar for B etc.):


%post cfg-A
ln -snf iptables-A /etc/sysconfig/iptables

%files cfg-A
/etc/sysconfig/iptables-A


Cheers,

-- 
-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[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