summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-27 11:19:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-27 11:19:22 +0000
commit0d53f9b55b6480cbea443cd217b54f588f5fb84c (patch)
tree77d20fbec18de1465c2f385b413fc782430d2bc9
parentf89d1b8daf5f217a83c37520ea3af788297e1c78 (diff)
downloadurpmi-0d53f9b55b6480cbea443cd217b54f588f5fb84c.tar
urpmi-0d53f9b55b6480cbea443cd217b54f588f5fb84c.tar.gz
urpmi-0d53f9b55b6480cbea443cd217b54f588f5fb84c.tar.bz2
urpmi-0d53f9b55b6480cbea443cd217b54f588f5fb84c.tar.xz
urpmi-0d53f9b55b6480cbea443cd217b54f588f5fb84c.zip
there is no reason not to use {removable} only for iso
-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;
}