annotate src/gftp.in @ 388:371695551cfa

2003-2-2 Brian Masney <masneyb@gftp.org> * docs/website/index.html.in - updated main gftp website
author masneyb
date Tue, 03 Feb 2004 02:34:01 +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