X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Frunfgfs.in;h=17a7bde3446230a0006c6068099db21a4ba2116c;hb=0c00cd3c6d34e4e167457897a274864cb7236da6;hp=ba0d40bfc69f3be6d645d004cf08db2ce06a35cf;hpb=c90db01dc8d5462a3da22771ffa7c96f5ea31217;p=flightgear.git diff --git a/src/Main/runfgfs.in b/src/Main/runfgfs.in index ba0d40bfc..17a7bde34 100755 --- a/src/Main/runfgfs.in +++ b/src/Main/runfgfs.in @@ -5,7 +5,7 @@ # # 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 @@ -19,7 +19,7 @@ # # 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$ #--------------------------------------------------------------------------- @@ -29,7 +29,7 @@ $prefix = "@prefix@"; # 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 @@ -73,8 +73,8 @@ foreach $path (@paths) { 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"; } } }