diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-08-26 21:40:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-08-26 21:40:16 +0000 |
commit | 198f027c4b6cee0e85cca29ac140d4570af9061a (patch) | |
tree | 42294c0bddcd93f44ddcb4eaa0232732eedc5526 /scripts/feeds | |
parent | e483dd283690de4fe411b8400ca833d425330dfc (diff) | |
download | upstream-198f027c4b6cee0e85cca29ac140d4570af9061a.tar.gz upstream-198f027c4b6cee0e85cca29ac140d4570af9061a.tar.bz2 upstream-198f027c4b6cee0e85cca29ac140d4570af9061a.zip |
scripts/feeds: fix a bug in the metadata caching change
SVN-Revision: 22819
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 f272e13096..5e27487e44 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} ) { |