#!/bin/sh

if [ "$DISPLAY " != " " ] && [ -e /opt/gnome/bin/gftp-gtk ]; then
	/opt/gnome/bin/gftp-gtk $@
elif [ -e /opt/gnome/bin/gftp-text ]; then
	/opt/gnome/bin/gftp-text $@
else
	echo "Error: Can't find gFTP binaries installed in /opt/gnome/bin"
fi

