diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-26 21:28:20 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-26 21:28:20 +0000 |
commit | 1e4ea575b35d9168463f09263e3933b50248ad6e (patch) | |
tree | 068d15a1cd13c53d99c5c73350521a2294b2c5b3 /urpm/removable.pm | |
parent | 01c62172569ff364db6510499b63fb16c5680fbc (diff) | |
download | urpmi-1e4ea575b35d9168463f09263e3933b50248ad6e.tar urpmi-1e4ea575b35d9168463f09263e3933b50248ad6e.tar.gz urpmi-1e4ea575b35d9168463f09263e3933b50248ad6e.tar.bz2 urpmi-1e4ea575b35d9168463f09263e3933b50248ad6e.tar.xz urpmi-1e4ea575b35d9168463f09263e3933b50248ad6e.zip |
simplify
Diffstat (limited to 'urpm/removable.pm')
-rw-r--r-- | urpm/removable.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm index 2b5817c8..e882dff0 100644 --- a/urpm/removable.pm +++ b/urpm/removable.pm @@ -36,11 +36,11 @@ sub try_mounting { my $loopdev = urpm::sys::first_free_loopdev(); sys_log("mount iso $_ on $o_removable"); $loopdev and system('mount', $o_removable, $_, '-t', 'iso9660', '-o', "loop=$loopdev"); + $o_removable and $urpm->{removable_mounted}{$_} = undef; } else { sys_log("mount $_"); system("mount '$_' 2>/dev/null"); } - $o_removable and $urpm->{removable_mounted}{$_} = undef; } -e $dir; } |