summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/removable.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index 55078103..0298e083 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -91,7 +91,8 @@ sub _check_notfound {
my $dir_ = file_from_local_url($_) or next;
$dir_ =~ m!/.*/! or next; #- is this really needed??
if (!$dir) {
- try_mounting($urpm, $dir_, $removable);
+ $dir = $dir_;
+ try_mounting($urpm, $dir, $removable);
}
-r $dir_ or return 1;
}