diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-06-03 05:55:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-06-03 05:55:39 +0000 |
commit | 95cb771adad58d2b8dea859b82a65c40375e13db (patch) | |
tree | 718bf89cc155ee1d5ebe0d8bfcb05592e18a141e | |
parent | b8bde1335564e23afdf9b6ba07ff2d5213f2bf69 (diff) | |
download | drakx-backup-do-not-use-95cb771adad58d2b8dea859b82a65c40375e13db.tar drakx-backup-do-not-use-95cb771adad58d2b8dea859b82a65c40375e13db.tar.gz drakx-backup-do-not-use-95cb771adad58d2b8dea859b82a65c40375e13db.tar.bz2 drakx-backup-do-not-use-95cb771adad58d2b8dea859b82a65c40375e13db.tar.xz drakx-backup-do-not-use-95cb771adad58d2b8dea859b82a65c40375e13db.zip |
simplify
-rw-r--r-- | perl-install/bootsplash.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/bootsplash.pm b/perl-install/bootsplash.pm index 46c84c72e..5054cdf05 100644 --- a/perl-install/bootsplash.pm +++ b/perl-install/bootsplash.pm @@ -94,9 +94,7 @@ sub set_logo_console { sub create_path { my ($file) = @_; - require File::Basename; - my $dir = File::Basename::dirname($file); - -d $dir or mkdir_p($dir); + mkdir_p(dirname($file)); } sub theme_set_image_for_resolution { |