From 0d53f9b55b6480cbea443cd217b54f588f5fb84c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 27 Feb 2008 11:19:22 +0000 Subject: there is no reason not to use {removable} only for iso --- urpm/media.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'urpm/media.pm') 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; } -- cgit v1.2.1