[Fedora-packaging] Current gsettings scriptlets will lead to broken upgrades

Christopher Aillon caillon at redhat.com
Tue Apr 19 20:33:37 UTC 2011


Please see
http://lists.fedoraproject.org/pipermail/devel/2011-April/150540.html

Julian's followup post gave an example of how to fix the scriptlet:

%postun
if [ $1 -eq 0 ] ; then
     glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi

%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :



More information about the packaging mailing list