view src/gftp.in @ 974:e27d7b7702fb

2008-11-30 Brian Masney <masneyb@gftp.org> * debian/changelog - increased the version number
author masneyb
date Sun, 30 Nov 2008 21:32:28 +0000
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