]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/runfgfs.in
Fix the tank properties if no content was defined in fg
[flightgear.git] / src / Main / runfgfs.in
index ba0d40bfc69f3be6d645d004cf08db2ce06a35cf..68ba3dfb0c2bee650dc86e068066ae482ef94e7a 100755 (executable)
@@ -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
@@ -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";
        }
     }
 }