From 6dcb7226ab17fb648f397fe7256024adf9017eff Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 4 Oct 2003 17:00:13 +0000 Subject: use mkdir_p --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index fbfd20101..d93533424 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -329,7 +329,7 @@ sub beforeInstallPackages { substInFile { s/%_excludedocs.*//; $_ .= "%_excludedocs yes\n" if eof && $o->{excludedocs} } "$o->{prefix}/etc/rpm/macros"; #- add oem theme if the files exists. - mkdir "$o->{prefix}$_" foreach qw(/usr /usr/share); + mkdir_p("$o->{prefix}/usr/share"); install_any::getAndSaveFile("Mandrake/base/oem-theme.rpm", "$o->{prefix}/usr/share/oem-theme.rpm"); } -- cgit v1.2.1