aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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->();