From 6a60f111b358813aa0744655c1360215ea28b55c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 26 Feb 2008 19:40:29 +0000 Subject: simplify --- urpm/removable.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'urpm') 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; } -- cgit v1.2.1