view src/gftp.in @ 291:265244924868

2003-10-19 Brian Masney <masneyb@gftp.org> * lib/protocols.c lib/gftp.h - added gftp_string_from_utf8(). Also, make gftp_string_{to,from}_utf8() be defined all the time. When using glib 1.2, the functions will always return NULL. * lib/protocols.c - when creating a directory or renaming files, make sure the new name is converted from UTF8 to the local character set or the charset specified in the remote_charsets option. * src/gtk/misc-gtk.c (update_window_info) - when showing the directory we are currently in, make sure it is converted to UTF8
author masneyb
date Sun, 19 Oct 2003 12:28:26 +0000
parents 8b1883341c6f
children 0fcc6468a0af
line wrap: on
line source

#!/bin/sh

if [ "$DISPLAY " != " " ] && [ -f @prefix@/bin/gftp-gtk ]; then
	exec @prefix@/bin/gftp-gtk ${1+"$@"}
elif [ -f @prefix@/bin/gftp-text ]; then
	exec @prefix@/bin/gftp-text ${1+"$@"}
else
	echo "Error: Can't find gFTP binaries installed in @prefix@/bin"
fi