在#!/bin/sh之后加上
代码: 全选
export LANG=zh_CN
代码: 全选
#!/bin/sh export LANG=zh_CN
prefix=/usr
exec_prefix=${prefix}
if [ "$DISPLAY " != " " ] && [ -f ${exec_prefix}/bin/gftp-gtk ]; then
exec ${exec_prefix}/bin/gftp-gtk ${1+"$@"}
elif [ -f ${exec_prefix}/bin/gftp-text ]; then
exec ${exec_prefix}/bin/gftp-text ${1+"$@"}
else
echo "Error: Can't find gFTP binaries installed in ${exec_prefix}/bin"
fi
代码: 全选
#!/bin/sh
export LANG=zh_CN
prefix=/usr
exec_prefix=${prefix}
if [ "$DISPLAY " != " " ] && [ -f ${exec_prefix}/bin/gftp-gtk ]; then
exec ${exec_prefix}/bin/gftp-gtk ${1+"$@"}
elif [ -f ${exec_prefix}/bin/gftp-text ]; then
exec ${exec_prefix}/bin/gftp-text ${1+"$@"}
else
echo "Error: Can't find gFTP binaries installed in ${exec_prefix}/bin"
fi