summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-26 22:38:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-26 22:38:16 +0000
commit01a70edbe99b55ebb91210c68fae5767bcc2a8f3 (patch)
treefc74b758f623a4604b1b19b6ae6c65c37b8b0f78 /urpm
parente3c7a9fca9087dbf613803444c03cdefd3ec263b (diff)
downloadurpmi-01a70edbe99b55ebb91210c68fae5767bcc2a8f3.tar
urpmi-01a70edbe99b55ebb91210c68fae5767bcc2a8f3.tar.gz
urpmi-01a70edbe99b55ebb91210c68fae5767bcc2a8f3.tar.bz2
urpmi-01a70edbe99b55ebb91210c68fae5767bcc2a8f3.tar.xz
urpmi-01a70edbe99b55ebb91210c68fae5767bcc2a8f3.zip
add comment
Diffstat (limited to 'urpm')
-rw-r--r--urpm/removable.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index 7b3bee2f..97b15a39 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -237,6 +237,7 @@ sub _create_blists {
map { { medium => $_, list => $list->[$i++] } } @$media ];
}
+#- side-effects: none
sub _sort_media {
my ($urpm, @l) = @_;
@@ -253,6 +254,10 @@ sub _sort_media {
#- $list is a [ { pkg_id1 => url1, ... }, { ... }, ... ]
#- where there is one hash for each medium in {media}
+#-
+#- side-effects:
+#- + those of _get_removables_or_check_mounted ($urpm->{removable_mounted}, "mount")
+#- + those of _examine_removable_medium ($urpm->{removable_mounted}, $sources, "mount", "umount", "eject", "copy-move-files")
sub copy_packages_of_removable_media {
my ($urpm, $list, $sources, $o_ask_for_medium) = @_;