RE: Environment variables in RPM installation scripts

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

 



> > > I suppose I could install the "updated" files under a new name in a
> > > known location, them apply the patch. Would that be the standard
> > > way of doing what I'm trying to do?
> >
> >
> > Sorry... what I said won't work. I don't want to install the patch
> > file itself, and, IIUC, it is not a good idea to overwrite the yum
> > config files.
>
> Supply the patch file (or the complete file itself) as a 'here'
> document in %post, or a sed script.  Since it is not part of
> %files, rpm won't complain about a conflict.  Of course,
> rpm -V will report that the file has changed, but that is
> as expected.

Excuse me if this is a silly question, but what do you mean by a "'here'
document"?

Do you have any examples?


Thanks so much!


_______________________________________________
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