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

RE: Environment variables in RPM installation scripts



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



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