On Tue, 2006-01-10 at 20:59 +0100, Josselin Mouette wrote: > Le mardi 10 janvier 2006 à 11:23 -0500, Rodney Dawes a écrit : > > According to the RPM documentation, the way to handle this currently, > > is unfortunately, to do the --makefile-uninstall-rule in the %pre of > > the new package, if it's an upgrade, or in the %preun of the package, > > in the event of straight package removal. > > This looks fragile, as you have to keep track of all previous versions > of the packages to handle upgrades.
I'm not sure this is true, but I am not totally certain it isn't. I would hope that there is some way to check if an upgrade or simple removal is happening. > For the record, what is the reason why rpm doesn't run the pre-removal > script before upgrading ? I don't know. I didn't write it. Although, if you find the answer, it would be great to know why it is so nasty. -- dobey _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
