X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/30d6c703dc7de9674b42414a61c64bda9ef4e691..cd1651cc853b14056b1308a607af128026c1d4ce:/scripts/feeds diff --git a/scripts/feeds b/scripts/feeds index f272e1309..5e27487e4 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -221,7 +221,7 @@ sub list_feed { my $feed = shift; get_feed($feed); - foreach my $name (sort { lc($a) cmp lc($b) } keys %package) { + foreach my $name (sort { lc($a) cmp lc($b) } keys %$feed_package) { my $pkg = $feed_package->{$name}; next if $pkg->{vdepends}; if($pkg->{name}) { @@ -397,7 +397,7 @@ sub install { if (!defined($opts{p}) or $opts{p} eq $f->[1]) { printf "Installing all packages from feed %s.\n", $f->[1]; get_feed($f->[1]); - foreach my $name (sort { lc($a) cmp lc($b) } keys %package) { + foreach my $name (sort { lc($a) cmp lc($b) } keys %$feed_package) { my $p = $feed_package->{$name}; next if $p->{vdepends}; if( $p->{name} ) {