summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-26 23:02:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-26 23:02:08 +0000
commit3cd59d9a205add7dd714cde4c9cc07743f993813 (patch)
tree0d10fce52c5ee844434767b9dca3c5a765860285
parentd6b6da9a28ddcbee6c31615d6a7df6a58abddee6 (diff)
downloadurpmi-3cd59d9a205add7dd714cde4c9cc07743f993813.tar
urpmi-3cd59d9a205add7dd714cde4c9cc07743f993813.tar.gz
urpmi-3cd59d9a205add7dd714cde4c9cc07743f993813.tar.bz2
urpmi-3cd59d9a205add7dd714cde4c9cc07743f993813.tar.xz
urpmi-3cd59d9a205add7dd714cde4c9cc07743f993813.zip
_mount_it() can't fail!
-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: