summaryrefslogtreecommitdiffstats
path: root/urpm/removable.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/removable.pm')
-rw-r--r--urpm/removable.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index 582efd74..d8d277cd 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -187,7 +187,6 @@ sub _examine_removable_medium_ {
my $dir = file_from_local_url($medium->{url});
- if (-e $dir) {
while (my ($i, $url) = each %$medium_list) {
my $filepath = _filepath($url) or next;
@@ -198,9 +197,6 @@ sub _examine_removable_medium_ {
$urpm->{error}(N("unable to read rpm file [%s] from medium \"%s\"", $filepath, $medium->{name}));
}
}
- } else {
- $urpm->{error}(N("medium \"%s\" is not available", $medium->{name}));
- }
}
#- side-effects: