File gcin_scripts_modify-XIM_103.diff of Package gcin
--- scripts/modify-XIM.orig 2006-03-03 10:33:07.000000000 +0800
+++ scripts/modify-XIM 2007-08-29 13:36:17.000000000 +0800
@@ -1,5 +1,9 @@
#!/bin/bash
-
+ yesno = "n"
+ echo "This script is not designed for SUSE/openSUSE. You don't need to run this script.\
+See /usr/share/doc/packages/gcin/gcin-README.suse for more info."
+ read -p "Do you really want to run this script?(y/n)" yesno
+ if [ $yesno == "y" ]; then
QT_IM="xim"
if [ -f /usr/lib/qt3/plugins/inputmethods/libqgcin.so ]; then
QT_IM="gcin"
@@ -140,3 +144,4 @@
$GTK_QUERY_IM > $imlib
cp gtk.immodules.lib gtk.immodules
fi
+ fi
\ 檔案末沒有 newline 字元