summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-29 10:22:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-29 10:22:31 +0000
commit27d28171e298b56a18e94514694c116c2c30a22d (patch)
tree09920b2ae7e2c885f1ca36a44956552c4768e817
parentab2dacf9ef8a8098d398a922205c24904925fa52 (diff)
downloadurpmi-27d28171e298b56a18e94514694c116c2c30a22d.tar
urpmi-27d28171e298b56a18e94514694c116c2c30a22d.tar.gz
urpmi-27d28171e298b56a18e94514694c116c2c30a22d.tar.bz2
urpmi-27d28171e298b56a18e94514694c116c2c30a22d.tar.xz
urpmi-27d28171e298b56a18e94514694c116c2c30a22d.zip
rename look_for_mounted_cdrom() into _look_for_mounted_cdrom_in_mtab()
-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);
}