Hi. This is a packaging bug if you dont test the upgrade case. If you uninstall schemas you just *must* have an `if' statement surrounding the gconf schema un-installation in %preun, to test if we're being upgraded or un-installed. Remember that, when upgrading, %preun of the old package is ran after the new package %post. And anyway, we have a problem in cases like: * foo-1 which has foo.schema is installed * you upgrade to foo-2 which has foo2.schema, but has no foo.schema. foo.schema will never be uninstalled, as foo-2 knows nothing about it. (Yes, that sort of things has already happened). So, do we bother about un-installing or.. ? D Le mardi 01 mars 2005 à 14:42 -0500, David Malcolm a écrit : > Some spec files try to uninstall the schema e.g. from > evolution-connector: > %preun > export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` > gconftool-2 --makefile-uninstall-rule \ > %{_sysconfdir}/gconf/schemas/apps_evolution_exchange.schemas > >/dev/null || : > -- Dams Nadé Anvil/Anvilou on irc.freenode.net : #Linux-Fr, #Fedora "Dona Nobis Pacem E Dona Eis Requiem". Noir.
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=