summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-28 14:54:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-28 14:54:38 +0000
commit1db5d687d0039edeba825c650583f8f4fece6f2f (patch)
tree4c425bbcf68bd17a2cd882f9a0d8267696028773 /perl-install/detect_devices.pm
parent4bf70375459a272ee50c0f0fd19112f7ba0de04d (diff)
downloaddrakx-backup-do-not-use-1db5d687d0039edeba825c650583f8f4fece6f2f.tar
drakx-backup-do-not-use-1db5d687d0039edeba825c650583f8f4fece6f2f.tar.gz
drakx-backup-do-not-use-1db5d687d0039edeba825c650583f8f4fece6f2f.tar.bz2
drakx-backup-do-not-use-1db5d687d0039edeba825c650583f8f4fece6f2f.tar.xz
drakx-backup-do-not-use-1db5d687d0039edeba825c650583f8f4fece6f2f.zip
use mkdir_p instead of mkdir
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index f7522f79c..e8b728b6e 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -610,7 +610,7 @@ sub probeSerialDevices {
#- for device already probed, we can safely (assuming device are
#- not moved during install :-)
#- include /dev/mouse device if using an X server.
- -d "/var/lock" or mkdir "/var/lock", 0755;
+ mkdir_p("/var/lock");
-l "/dev/mouse" and $serialprobe{"/dev/" . readlink "/dev/mouse"} = undef;
foreach (keys %serialprobe) { m|^/dev/(.*)| and touch "/var/lock/LCK..$1" }