view src/gftp.in @ 131:c77f85763e28

2003-4-13 Brian Masney <masneyb@gftp.org> * lib/config_file.c - fixed float config type * lib/gftp.h lib/misc.c - added gftp_gen_ls_string() * src/gtk/menu-items.c (dosave_directory_listing) src/text/gftp-text.c (gftp_text_ls) - use gftp_gen_ls_string()
author masneyb
date Mon, 14 Apr 2003 01:07:36 +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