summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-10-04 17:00:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-10-04 17:00:13 +0000
commit6dcb7226ab17fb648f397fe7256024adf9017eff (patch)
tree976550bfc8a0b1fac507b2623f7519613d88c9dc
parent7c25ec4685fd03d2288df166b501dc656ed6ba06 (diff)
downloaddrakx-backup-do-not-use-6dcb7226ab17fb648f397fe7256024adf9017eff.tar
drakx-backup-do-not-use-6dcb7226ab17fb648f397fe7256024adf9017eff.tar.gz
drakx-backup-do-not-use-6dcb7226ab17fb648f397fe7256024adf9017eff.tar.bz2
drakx-backup-do-not-use-6dcb7226ab17fb648f397fe7256024adf9017eff.tar.xz
drakx-backup-do-not-use-6dcb7226ab17fb648f397fe7256024adf9017eff.zip
use mkdir_p
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
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");
}