[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Is it possible to refer to the files in the spec's pre script
- From: "Sateesh" <sahegde cisco com>
- To: "RPM Package Manager" <rpm-list redhat com>
- Subject: Is it possible to refer to the files in the spec's pre script
- Date: Tue, 31 Aug 2004 11:39:04 +0530
Hi,
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
%files -p $location/files.txt
%pre
tar -cf /opt/changedfiles.tar %{files}
But this is not working as it is.
Thanks
Sateesh
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]