#
# Written by Curtis Olson, started September 1997.
#
-# Copyright (C) 1997 - 1998 Curtis L. Olson - curt@me.umn.edu
+# Copyright (C) 1997 - 1998 Curtis L. Olson - http://www.flightgear.org/~curt
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
#
# $Id$
#---------------------------------------------------------------------------
# print "-> $prefix\n";
# potential names of Flight Gear executable to try
-@files = ( "fg", "fg.exe" );
+@files = ( "fgfs", "fgfs.exe" );
# search for the executable
# potential paths where the executable may be found
if ( $fg_root eq "" ) {
if ( -d "$path/FlightGear" ) {
$fg_root = "$path/FlightGear";
- } elsif ( -d "$path/lib/FlightGear" ) {
- $fg_root = "$path/lib/FlightGear";
+ } elsif ( -d "$path/share/FlightGear" ) {
+ $fg_root = "$path/share/FlightGear";
}
}
}