summaryrefslogtreecommitdiffstats
path: root/urpm/removable.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-06 10:41:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-06 10:41:52 +0000
commitd2e2b70e9e6fe92e4ea3d8cee938413ec237c32a (patch)
tree0a6647c845e3927f0f80c80477e62ec07883619c /urpm/removable.pm
parent697cc7d4aeb9c0959eb2f833bd4efe309268fdd6 (diff)
downloadurpmi-d2e2b70e9e6fe92e4ea3d8cee938413ec237c32a.tar
urpmi-d2e2b70e9e6fe92e4ea3d8cee938413ec237c32a.tar.gz
urpmi-d2e2b70e9e6fe92e4ea3d8cee938413ec237c32a.tar.bz2
urpmi-d2e2b70e9e6fe92e4ea3d8cee938413ec237c32a.tar.xz
urpmi-d2e2b70e9e6fe92e4ea3d8cee938413ec237c32a.zip
nicer error message
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 ecc774e5..e1c69469 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -18,11 +18,11 @@ sub file_or_synthesis_dir {
}
#- side-effects:
-#- + those of _try_mounting_medium ($medium->{mntpoint})
+#- + those of try_mounting_medium_ ($medium->{mntpoint})
sub try_mounting_medium {
my ($urpm, $medium, $o_url) = @_;
- my $rc = _try_mounting_medium($urpm, $medium, $o_url);
+ my $rc = try_mounting_medium_($urpm, $medium, $o_url);
$rc or $urpm->{error}(N("unable to access medium \"%s\".", $medium->{name}));
$rc;
}
@@ -30,7 +30,7 @@ sub try_mounting_medium {
#- side-effects:
#- + those of urpm::cdrom::try_mounting_cdrom ($urpm->{cdrom_mounted}, $medium->{mntpoint}, "hal_mount")
#- + those of _try_mounting_local ($urpm->{removable_mounted}, "mount")
-sub _try_mounting_medium {
+sub try_mounting_medium_ {
my ($urpm, $medium, $o_url) = @_;
if (urpm::is_cdrom_url($medium->{url})) {