summaryrefslogtreecommitdiffstats
path: root/urpm/removable.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/removable.pm')
-rw-r--r--urpm/removable.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index 2d5f35cf..91acd837 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -27,7 +27,7 @@ sub _file_or_synthesis_dir {
}
#- side-effects: $medium->{mntpoint}
-sub look_for_mounted_cdrom {
+sub _look_for_mounted_cdrom_in_mtab {
my ($urpm, $medium, $o_url) = @_;
my @mntpoints = map { $_->{mntpoint} }
@@ -54,12 +54,12 @@ sub try_mounting_medium {
}
#- side-effects:
-#- + those of look_for_mounted_cdrom ($medium->{mntpoint})
+#- + those of _look_for_mounted_cdrom_in_mtab ($medium->{mntpoint})
sub _try_mounting_medium {
my ($urpm, $medium, $o_url) = @_;
if (urpm::is_cdrom_url($medium->{url})) {
- look_for_mounted_cdrom($urpm, $medium, $o_url);
+ _look_for_mounted_cdrom_in_mtab($urpm, $medium, $o_url);
} else {
-r _file_or_synthesis_dir($medium, $o_url);
}