#78 Fix gsettings scriptlets
Closed: Fixed None Opened 13 years ago by spot.

Update the GSettings section of ScriptletSnippets with improved scriptlets that handle the gconf -> gsettings migration case.

{{{
%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 || :
}}}


action Approved (+1:6, 0:0, -1:0)

Announcement text:

The Scriptlets for GSettings have been updated to:

%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 || :

https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema

Metadata Update from @spot:
- Issue assigned to spot

7 years ago

Login to comment on this ticket.

Metadata