summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-26 20:48:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-26 20:48:41 +0000
commitafdf8408fbf2b78c0c381a1ea7a01d562c8403f1 (patch)
treec2e80ed76af7cd2fc9175e8e34b502c6ab5524c9
parenta7c96c5c219dfd89c3d7eb422c431dc4b23717f8 (diff)
downloadurpmi-afdf8408fbf2b78c0c381a1ea7a01d562c8403f1.tar
urpmi-afdf8408fbf2b78c0c381a1ea7a01d562c8403f1.tar.gz
urpmi-afdf8408fbf2b78c0c381a1ea7a01d562c8403f1.tar.bz2
urpmi-afdf8408fbf2b78c0c381a1ea7a01d562c8403f1.tar.xz
urpmi-afdf8408fbf2b78c0c381a1ea7a01d562c8403f1.zip
i don't see any reason for this...
-rw-r--r--urpm/removable.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index b0d9d278..2f4da003 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -122,7 +122,7 @@ sub _mount_it {
#- the directory given does not exist and may be accessible
#- by mounting some other directory. Try to figure it out and mount
#- everything that might be necessary.
- while (_check_notfound($urpm, $medium_list, $dir, is_iso($medium->{removable}) ? $medium->{removable} : 'removable')) {
+ while (_check_notfound($urpm, $medium_list, $dir, $medium->{removable})) {
is_iso($medium->{removable}) || $o_ask_for_medium
or $urpm->{fatal}(4, N("medium \"%s\" is not available", $medium->{name}));
try_umounting($urpm, $dir);