[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
- From: "Sateesh" <sahegde cisco com>
- To: <sahegde cisco com>, "RPM Package Manager" <rpm-list redhat com>
- Cc:
- Subject: RE: Is it possible to refer to the files in the spec's pre script
- Date: Tue, 31 Aug 2004 11:50:43 +0530
Sorry the files directive is
%files -f $location/files.txt.
-----Original Message-----
From: rpm-list-bounces@redhat.com [mailto:rpm-list-bounces@redhat.com]On
Behalf Of Sateesh
Sent: Tuesday, August 31, 2004 11:39 AM
To: RPM Package Manager
Subject: Is it possible to refer to the files in the spec's pre script
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
_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]