fcitx/fcitx-4.2.8.5-fix-bashisms.patch

13 lines
474 B
Diff

diff -Ndur fcitx-4.2.8.5/data/env_setup.sh fcitx-4.2.8.5-fix-bashisms/data/env_setup.sh
--- fcitx-4.2.8.5/data/env_setup.sh 2014-09-18 03:26:23.000000000 +0300
+++ fcitx-4.2.8.5-fix-bashisms/data/env_setup.sh 2014-11-17 02:56:52.806374092 +0200
@@ -31,7 +31,7 @@
detect_qt_im_module()
{
QTPATH=`qmake -query QT_INSTALL_PLUGINS`
- ls $QTPATH/inputmethods/*fcitx* &> /dev/null
+ ls $QTPATH/inputmethods/*fcitx* >/dev/null 2>&1
}
if [ -z "$XMODIFIERS" ]; then