mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	move DEFAULT_foo out of PACKAGE_foo, it was breaking package menus.
SVN-Revision: 5881
This commit is contained in:
		
							parent
							
								
									c1953f632e
								
							
						
					
					
						commit
						246cc4f285
					
				@ -66,6 +66,8 @@ sub print_category($) {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
			$menus{$menu} or $menus{$menu} = [];
 | 
								$menus{$menu} or $menus{$menu} = [];
 | 
				
			||||||
			push @{$menus{$menu}}, $pkg;
 | 
								push @{$menus{$menu}}, $pkg;
 | 
				
			||||||
 | 
								print "\tconfig DEFAULT_".$pkg->{name}."\n";
 | 
				
			||||||
 | 
								print "\t\tbool\n\n";
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	my @menus = sort {
 | 
						my @menus = sort {
 | 
				
			||||||
@ -89,8 +91,6 @@ sub print_category($) {
 | 
				
			|||||||
			if ($c > 0) {
 | 
								if ($c > 0) {
 | 
				
			||||||
				$title .= ("." x $c). " ". $pkg->{title};
 | 
									$title .= ("." x $c). " ". $pkg->{title};
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			print "\tconfig DEFAULT_".$pkg->{name}."\n";
 | 
					 | 
				
			||||||
			print "\t\tbool\n\n";
 | 
					 | 
				
			||||||
			print "\t";
 | 
								print "\t";
 | 
				
			||||||
			$pkg->{menu} and print "menu";
 | 
								$pkg->{menu} and print "menu";
 | 
				
			||||||
			print "config PACKAGE_".$pkg->{name}."\n";
 | 
								print "config PACKAGE_".$pkg->{name}."\n";
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user