annotate src/gftp.in @ 683:8bb9f5e08cc4

2005-2-4 Brian Masney <masneyb@gftp.org> * ChangeLog-old - updated with changes since 2.0.18rc1 * docs/website/index.html.in - added link to the FSP homepage
author masneyb
date Fri, 04 Feb 2005 15:29:24 +0000
parents 0fcc6468a0af
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
1 #!/bin/sh
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
2
325
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
3 prefix=@prefix@
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
4 exec_prefix=@exec_prefix@
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
5
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
6 if [ "$DISPLAY " != " " ] && [ -f @bindir@/gftp-gtk ]; then
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
7 exec @bindir@/gftp-gtk ${1+"$@"}
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
8 elif [ -f @bindir@/gftp-text ]; then
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
9 exec @bindir@/gftp-text ${1+"$@"}
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
10 else
325
0fcc6468a0af 2003-12-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
11 echo "Error: Can't find gFTP binaries installed in @bindir@"
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
12 fi
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
13