[ILUG] Nice RPM option..
John P. Looney
john at antefacto.com
Fri Jan 11 11:18:27 GMT 2002
On Fri, Jan 11, 2002 at 10:00:40AM +0000, Nick Murtagh mentioned:
> On Friday 11 January 2002 09:38, John P. Looney wrote:
> > When doing a "rpm --upgrade package.rpm", add the --repackage option.
> > it'll make up the old RPM for you, and leave it in /var/tmp. Cute.
> Would that include changes to configuration files etc or does it
> keep a copy of the originals somewhere?
If files are marked as configuration, and you have made local changes,
removing/upgrading a package never alters/removes the files, unless you do
some sed/awk magic in the "pre/post install" sections of the RPM.
John Looney Chief Scientist
a n t e f a c t o t: +353 1 8586004
www.antefacto.com f: +353 1 8586014
More information about the ILUG