diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-29 10:22:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-29 10:22:31 +0000 |
commit | 27d28171e298b56a18e94514694c116c2c30a22d (patch) | |
tree | 09920b2ae7e2c885f1ca36a44956552c4768e817 /urpm/removable.pm | |
parent | ab2dacf9ef8a8098d398a922205c24904925fa52 (diff) | |
download | urpmi-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()
Diffstat (limited to 'urpm/removable.pm')
-rw-r--r-- | urpm/removable.pm | 6 |
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); } |