Search in share/FlightGear instead of lib/FlightGear
This commit is contained in:
parent
372920236f
commit
86a24bc9e8
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue