From 5bbee503fb870cd1db1d8fc10c57d589303791fc Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Nov 17 2010 14:11:05 +0000 Subject: fix scriptlets --- diff --git a/ibus-chewing.spec b/ibus-chewing.spec index 4e4dd79..171d614 100644 --- a/ibus-chewing.spec +++ b/ibus-chewing.spec @@ -1,6 +1,6 @@ Name: ibus-chewing Version: 1.3.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Chewing engine for IBus input platform Summary(zh_TW): IBus新酷音輸入法 License: GPLv2+ @@ -69,20 +69,24 @@ IBus-chewing 是新酷音輸入法的IBus前端。 if [ "$1" -gt 1 ] ; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` [ -r %{_sysconfdir}/gconf/schemas/%{name}.schemas ] && -gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null +gconftool-2 --makefile-uninstall-rule \ + %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || : # Upgrading 1.0.2.20090302-1.fc11 or older? [ -r %{_sysconfdir}/gconf/schemas/%{name}.schema ] && -gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schema >/dev/null +gconftool-2 --makefile-uninstall-rule \ + %{_sysconfdir}/gconf/schemas/%{name}.schema >/dev/null || : fi %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` -gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null +gconftool-2 --makefile-install-rule \ + %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : %preun if [ "$1" -eq 0 ] ; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` -gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null +gconftool-2 --makefile-uninstall-rule \ + %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : fi %clean @@ -97,6 +101,9 @@ fi %config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas %changelog +* Wed Nov 17 2010 Nils Philippsen - 1.3.8-2 +- fix scriptlets + * Fri Nov 12 2010 Ding-Yi Chen - 1.3.8-1 - Quick fix for f15 and ibus-1.4 build - Version scheme change.