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

Re: Is it possible to refer to the files in the spec's pre script



On Tue, Aug 31, 2004 at 11:39:04AM +0530, Sateesh wrote:
> I have a requirement that, if  my RPM package is overwriting a file(any
> file, not only config) from another package, take the backup of that file.
> Basically I want to do something like the following in the %pre section

Well, you could install your file list as an actual part of the package.

Or you could mark *all* of the files as config files.


-- 
Matthew Miller           mattdm@mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>



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