summaryrefslogtreecommitdiff
path: root/scripts/feeds
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-08-26 21:40:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-08-26 21:40:16 +0000
commit198f027c4b6cee0e85cca29ac140d4570af9061a (patch)
tree42294c0bddcd93f44ddcb4eaa0232732eedc5526 /scripts/feeds
parente483dd283690de4fe411b8400ca833d425330dfc (diff)
downloadmtk-20170518-198f027c4b6cee0e85cca29ac140d4570af9061a.zip
mtk-20170518-198f027c4b6cee0e85cca29ac140d4570af9061a.tar.gz
mtk-20170518-198f027c4b6cee0e85cca29ac140d4570af9061a.tar.bz2
scripts/feeds: fix a bug in the metadata caching change
SVN-Revision: 22819
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-xscripts/feeds4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/feeds b/scripts/feeds
index f272e13..5e27487 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} ) {