diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-28 14:54:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-28 14:54:38 +0000 |
commit | 1db5d687d0039edeba825c650583f8f4fece6f2f (patch) | |
tree | 4c425bbcf68bd17a2cd882f9a0d8267696028773 /perl-install/detect_devices.pm | |
parent | 4bf70375459a272ee50c0f0fd19112f7ba0de04d (diff) | |
download | drakx-1db5d687d0039edeba825c650583f8f4fece6f2f.tar drakx-1db5d687d0039edeba825c650583f8f4fece6f2f.tar.gz drakx-1db5d687d0039edeba825c650583f8f4fece6f2f.tar.bz2 drakx-1db5d687d0039edeba825c650583f8f4fece6f2f.tar.xz drakx-1db5d687d0039edeba825c650583f8f4fece6f2f.zip |
use mkdir_p instead of mkdir
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
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" } |