summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-26 19:41:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-26 19:41:07 +0000
commitb03d4fcb233f2a7783af2d9ad6c85e16e7d7403b (patch)
tree21c4de3ed82aeb5c7136c31eef9fbcdd677d0d2b
parent6a60f111b358813aa0744655c1360215ea28b55c (diff)
downloadurpmi-b03d4fcb233f2a7783af2d9ad6c85e16e7d7403b.tar
urpmi-b03d4fcb233f2a7783af2d9ad6c85e16e7d7403b.tar.gz
urpmi-b03d4fcb233f2a7783af2d9ad6c85e16e7d7403b.tar.bz2
urpmi-b03d4fcb233f2a7783af2d9ad6c85e16e7d7403b.tar.xz
urpmi-b03d4fcb233f2a7783af2d9ad6c85e16e7d7403b.zip
oops, revert previous commit
-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;
}