summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-30 09:28:35 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-30 09:28:35 +0000
commit28bc3db3d13b3d8a417bf9a8a930fe20b43d146c (patch)
tree2ea188ca254b68b8cba41982d9d6b623835d89eb /urpm.pm
parent017c542333bc298ce92655977fa105a7f417d9d3 (diff)
downloadurpmi-28bc3db3d13b3d8a417bf9a8a930fe20b43d146c.tar
urpmi-28bc3db3d13b3d8a417bf9a8a930fe20b43d146c.tar.gz
urpmi-28bc3db3d13b3d8a417bf9a8a930fe20b43d146c.tar.bz2
urpmi-28bc3db3d13b3d8a417bf9a8a930fe20b43d146c.tar.xz
urpmi-28bc3db3d13b3d8a417bf9a8a930fe20b43d146c.zip
Copy all rpms from removable media into the cachedir; don't check for
supermount.
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/urpm.pm b/urpm.pm
index 6b9ac6ee..6f1d5884 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2716,11 +2716,7 @@ sub copy_packages_of_removable_media {
$removables{$device} = [ $sorted_media[-1] ];
}
- #- mount the removable device, only one or the important one.
- #- if supermount is used on the device, it is preferable to copy
- #- the file instead (because it is so slooooow).
- $examine_removable_medium->($removables{$device}[0], $device,
- urpm::sys::is_using_supermount($device) ? 'copy' : 0);
+ $examine_removable_medium->($removables{$device}[0], $device, 'copy');
}
1;