diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-26 21:40:16 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-26 21:40:16 +0000 |
commit | 482da31cc4325012b2111aa2d280dd9a53a8a1ab (patch) | |
tree | 6011417db35571533552d003e7eb940565f2f41a /scripts/feeds | |
parent | e13cab49c5c4a8c2a3a02143425752abdba93889 (diff) |
scripts/feeds: fix a bug in the metadata caching change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22819 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-x | scripts/feeds | 4 |
1 files changed, 2 insertions, 2 deletions
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} ) { |