summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.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/install_any.pm
parent4bf70375459a272ee50c0f0fd19112f7ba0de04d (diff)
downloaddrakx-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/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 85ce06463..05939b2a8 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -487,7 +487,7 @@ sub setAuthentication {
}
write_smb_conf($domain);
run_program::rooted($o->{prefix}, "chkconfig", "--level", "35", "winbind", "on");
- mkdir "$o->{prefix}/home/$domain", 0755;
+ mkdir_p("$o->{prefix}/home/$domain");
#- defer running smbpassword - no network yet
$winbind = $winbind . "%" . $winpass;
@@ -779,7 +779,7 @@ sub getAndSaveAutoInstallFloppy {
if (arch() =~ /sparc/) {
my $imagefile = "$o->{prefix}/tmp/autoinst.img";
- my $mountdir = "$o->{prefix}/tmp/mount"; -d $mountdir or mkdir $mountdir, 0755;
+ my $mountdir = "$o->{prefix}/tmp/mount"; mkdir_p($mountdir);
my $workdir = "$o->{prefix}/tmp/work"; -d $workdir or rmdir $workdir;
getAndSaveInstallFloppy($o, $imagefile) or return;