aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-07 15:13:32 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-07 15:13:32 +0000
commite19c3eaafea2c19224692c8fca2b1c59f207a409 (patch)
tree17e1df7d3fd5ce3c93838a4b736e33ba786bcd37
parent35862574ba248a503768d1130eec66f4d8f373a9 (diff)
downloadrpmdrake-e19c3eaafea2c19224692c8fca2b1c59f207a409.tar
rpmdrake-e19c3eaafea2c19224692c8fca2b1c59f207a409.tar.gz
rpmdrake-e19c3eaafea2c19224692c8fca2b1c59f207a409.tar.bz2
rpmdrake-e19c3eaafea2c19224692c8fca2b1c59f207a409.tar.xz
rpmdrake-e19c3eaafea2c19224692c8fca2b1c59f207a409.zip
Patch by Michael Scherer to skip external sources (currently unused) in the
software media manager
-rwxr-xr-xedit-urpm-sources.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index d16a3c04..9f8fdbf1 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -937,7 +937,7 @@ sub mainwindow {
$urpm->update_media(noclean => 1, nolock => 1);
}
$list->clear;
- $list->append_set([ 0 => !$_->{ignore}, 1 => $_->{name} ]) foreach @{$urpm->{media}};
+ $list->append_set([ 0 => !$_->{ignore}, 1 => $_->{name} ]) foreach grep { ! $_->{external} } @{$urpm->{media}};
$reorder_ok = 1;
};
$reread_media->();