[ibus/f15] Fixed Bug 735879 - ibus update fails if /bin/sh is not bash

Takao Fujiwara fujiwara at fedoraproject.org
Tue Sep 6 03:10:47 UTC 2011


commit de2d671b4b7deb6cdfcdc9c4b05dde8788a4aa31
Author: Takao Fujiwara <tfujiwar at redhat.com>
Date:   Tue Sep 6 12:08:09 2011 +0900

    Fixed Bug 735879 - ibus update fails if /bin/sh is not bash

 ibus.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ibus.spec b/ibus.spec
index bd2f6e4..b56d4eb 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -285,18 +285,18 @@ touch --no-create %{_datadir}/icons/hicolor || :
 %{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_xinputconf} 83 || :
 
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/ibus.schemas >& /dev/null || :
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/ibus.schemas > /dev/null 2>&1 || :
 
 %pre
 if [ "$1" -gt 1 ]; then
     export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/ibus.schemas >& /dev/null || :
+    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/ibus.schemas > /dev/null 2>&1 || :
 fi
 
 %preun
 if [ "$1" -eq 0 ]; then
     export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/ibus.schemas >& /dev/null || :
+    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/ibus.schemas > /dev/null 2>&1 || :
 fi
 
 %postun


More information about the scm-commits mailing list