view src/gftp.in @ 991:b884506e569c

imported patch rename_dialog
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 04 Feb 2010 18:02:06 +0900
parents 0fcc6468a0af
children
line wrap: on
line source

#!/bin/sh

prefix=@prefix@
exec_prefix=@exec_prefix@

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