On 20 May 2010 15:56, Rex Dieter <rdieter@xxxxxxxxxxxx> wrote: > Thanks for the suggestions, I think %posttrans should be the way to go > in general for stuff like this (I've been meaning to make a similar > proposal to modify scriptletsnippets for update-desktop-database and > update-mime-database for awhile). > > So, what that means, is using something like this instead: > > %posttrans > glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : > > %postun > if [ $1 -eq 0 ]; then > glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : > fi > Works for me. Richard. -- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/packaging