summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-25 12:14:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-25 12:14:11 +0000
commit7f5508ce30ddb89239136c5d81c4b3e8368351c0 (patch)
treeb4f4a3e186c60a4d7a540024770e2f261ee5244f /perl-install/pkgs.pm
parent21499786291db824f9745f4c0875eded9d44370d (diff)
downloaddrakx-7f5508ce30ddb89239136c5d81c4b3e8368351c0.tar
drakx-7f5508ce30ddb89239136c5d81c4b3e8368351c0.tar.gz
drakx-7f5508ce30ddb89239136c5d81c4b3e8368351c0.tar.bz2
drakx-7f5508ce30ddb89239136c5d81c4b3e8368351c0.tar.xz
drakx-7f5508ce30ddb89239136c5d81c4b3e8368351c0.zip
we don't use /tmp for devices anymore
(this comes from long ago when redhat code was using a ro /dev and creating other devices in /tmp)
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};