diff options
Diffstat (limited to 'macros.in')
-rw-r--r-- | macros.in | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -214,16 +214,20 @@ then %{_update_mime_database_bin} %{_datadir}/mime > /dev/null || true ; fi \ # Install GConf schemas %post_install_gconf_schemas() if [ -x %{_gconftool_bin} ]; then \ export GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` && \ +SCHEMAS="" \ for SCHEMA in %{*} ; do \ - %{_gconftool_bin} --makefile-install-rule %{_sysconfdir}/gconf/schemas/$SCHEMA.schemas > /dev/null || true \ + SCHEMAS="$SCHEMAS %{_sysconfdir}/gconf/schemas/$SCHEMA.schemas" \ done ; fi \ +%{_gconftool_bin} --makefile-install-rule $SCHEMAS > /dev/null || true \ %{nil} %preun_uninstall_gconf_schemas() if [ "$1" = "0" -a -x %{_gconftool_bin} ]; then \ export GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` && \ +SCHEMAS="" \ for SCHEMA in %{*} ; do \ - %{_gconftool_bin} --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/$SCHEMA.schemas > /dev/null || true \ + SCHEMAS="$SCHEMAS %{_sysconfdir}/gconf/schemas/$SCHEMA.schemas" \ done ; fi \ +%{_gconftool_bin} --makefile-uninstall-rule $SCHEMAS > /dev/null || true \ %{nil} # Rebuild scrollkeeper database |