summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 90affb556..446a1f479 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -972,7 +972,7 @@ sub installTransactionClosure {
$::o->{mainmethod} = $::o->{method};
local $::o->{method} = do {
my $cdrom;
- cat_("/proc/mounts") =~ m,(/(?:dev|tmp)/\S+)\s+(?:/mnt/cdrom|/tmp/image), and $cdrom = $1;
+ cat_("/proc/mounts") =~ m,(/dev/\S+)\s+(?:/mnt/cdrom|/tmp/image), and $cdrom = $1;
if (!defined $cdrom) {
(my $cdromdev) = detect_devices::cdroms();
$cdrom = $cdromdev->{device};