From 176094b133a877b758350b84067a54321f6d5f69 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Sep 29 2008 11:52:00 +0000 Subject: - Fix a gconf error in %%pre. (#464453) --- diff --git a/imsettings.spec b/imsettings.spec index ec7939c..2940078 100644 --- a/imsettings.spec +++ b/imsettings.spec @@ -1,6 +1,6 @@ Name: imsettings Version: 0.104.1 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ URL: http://code.google.com/p/imsettings/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -113,7 +113,9 @@ rm -rf $RPM_BUILD_ROOT %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` - gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/imsettings-applet.schemas > /dev/null || : + if [ -f %{_sysconfdir}/gconf/schemas/imsettings-applet.schemas ]; then + gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/imsettings-applet.schemas > /dev/null || : + fi fi %post @@ -178,6 +180,9 @@ fi %changelog +* Mon Sep 29 2008 Akira TAGOH - 0.104.1-2 +- Fix a gconf error in %%pre. (#464453) + * Thu Sep 25 2008 Akira TAGOH - 0.104.1-1 - New upstream release. - Fix a segfault issue. (#462899)