diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-10-04 17:00:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-10-04 17:00:13 +0000 |
commit | 6dcb7226ab17fb648f397fe7256024adf9017eff (patch) | |
tree | 976550bfc8a0b1fac507b2623f7519613d88c9dc /perl-install/install_steps.pm | |
parent | 7c25ec4685fd03d2288df166b501dc656ed6ba06 (diff) | |
download | drakx-6dcb7226ab17fb648f397fe7256024adf9017eff.tar drakx-6dcb7226ab17fb648f397fe7256024adf9017eff.tar.gz drakx-6dcb7226ab17fb648f397fe7256024adf9017eff.tar.bz2 drakx-6dcb7226ab17fb648f397fe7256024adf9017eff.tar.xz drakx-6dcb7226ab17fb648f397fe7256024adf9017eff.zip |
use mkdir_p
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 2 |
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"); } |