summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpmq b/urpmq
index 00c66c75..5d9eb540 100755
--- a/urpmq
+++ b/urpmq
@@ -158,6 +158,8 @@ if ($urpm::args::options{list_aliases}) {
exit 0;
} elsif ($urpm::args::options{list_media} || $urpm::args::options{list_url}) {
foreach (@{$urpm->{media}}) {
+ next if $urpm::args::options{list_media} eq 'update' and ! $_->{update};
+ next if $urpm::args::options{list_media} eq 'active' and $_->{ignore};
print $_->{name} . ($urpm::args::options{list_url} ? " $_->{url}" : "") . "\n";
}
exit 0;