view src/gftp.in @ 759:312dee613441

2006-6-22 Brian Masney <masneyb@gftp.org> * gftp.spec.in - updated the install path for the desktop file (closes #171711)
author masneyb
date Fri, 23 Jun 2006 01:41:23 +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