summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/media.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 66f9134f..f182a2c7 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1246,8 +1246,7 @@ sub _update_medium__parse_if_unmodified__local {
#- everything that might be necessary.
urpm::removable::try_mounting($urpm,
$dir,
- #- in case of an iso image, pass its name
- urpm::removable::is_iso($medium->{removable}) && $medium->{removable},
+ $medium->{removable},
) or $urpm->{error}(N("unable to access medium \"%s\",
this could happen if you mounted manually the directory when creating the medium.", $medium->{name})), return;
}