]> git.mxchange.org Git - flightgear.git/commitdiff
Fixes to the default.ils building script.
authorcurt <curt>
Mon, 19 May 2003 15:28:21 +0000 (15:28 +0000)
committercurt <curt>
Mon, 19 May 2003 15:28:21 +0000 (15:28 +0000)
scripts/perl/dafif/dafift2ils.pl

index 8aceecde10031486f3df33e040b7112c484c604b..19cb9195a70ead0c7e3269a2d74e5f3851053d7d 100755 (executable)
@@ -328,13 +328,10 @@ sub load_fgfs() {
             my( $code ) = $icao;
             $code =~ s/^K//;
             if ( $ILS{$icao . $rwy} ne "" ) {
+                print "FGFS: Skipping $icao - $rwy - already exists\n";
                 # skip approaches already in FAA or DAFIFT data
-            } elsif ( $AIRPORTS{$icao} != 1 && $AIRPORTS{$code} != 1 ) {
-                # skip approaches if the FAA or DAFIFT data has any other
-                # approach already for this airport.  (Avoids carrying over
-                # extraneous data if an approach was deactivated or runway
-                # numbers were changed.)
             } elsif ( length( $icao ) < 4 || $icao =~ m/^K/ ) {
+                print "FGFS: Skipping $icao - $rwy - USA\n";
                 # skip USA approaches not found in FAA or DAFIFT data
             } else {
                 print "FGFS adding: $icao $rwy\n";