summaryrefslogtreecommitdiffstats
path: root/urpm/cdrom.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-05-04 17:38:10 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-05-06 10:16:18 +0200
commitad3ae8cc582438000b3b8589b3629df98da49c9d (patch)
tree0ba123128c5200db71579271d7c848e320d20742 /urpm/cdrom.pm
parentc8187549845afb9201686e3117c0d16cb7a41f26 (diff)
downloadurpmi-ad3ae8cc582438000b3b8589b3629df98da49c9d.tar
urpmi-ad3ae8cc582438000b3b8589b3629df98da49c9d.tar.gz
urpmi-ad3ae8cc582438000b3b8589b3629df98da49c9d.tar.bz2
urpmi-ad3ae8cc582438000b3b8589b3629df98da49c9d.tar.xz
urpmi-ad3ae8cc582438000b3b8589b3629df98da49c9d.zip
Stop truncating disk names when prompting for a CD
.. or for a CD/USB key See mga#26564 comment 9: https://bugs.mageia.org/show_bug.cgi?id=26564#c9
Diffstat (limited to 'urpm/cdrom.pm')
-rw-r--r--urpm/cdrom.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/cdrom.pm b/urpm/cdrom.pm
index 0396620b..16e255f7 100644
--- a/urpm/cdrom.pm
+++ b/urpm/cdrom.pm
@@ -4,7 +4,7 @@ package urpm::cdrom;
use strict;
use urpm::msg;
use urpm::sys;
-use urpm::util qw(basename copy_and_own difference2 remove_internal_name);
+use urpm::util qw(basename copy_and_own difference2);
use urpm::get_pkgs;
use urpm::removable;
use urpm 'file_from_local_medium';
@@ -174,7 +174,7 @@ sub _mount_cdrom {
_may_eject_cdrom($urpm);
- $ask_for_medium->(remove_internal_name($medium->{name}))
+ $ask_for_medium->($medium->{name})
or $urpm->{fatal}(4, N("medium \"%s\" is not available", $medium->{name}));
}
}