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