summaryrefslogtreecommitdiffstats
path: root/perl-install/bootsplash.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-03 05:55:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-03 05:55:39 +0000
commit95cb771adad58d2b8dea859b82a65c40375e13db (patch)
tree718bf89cc155ee1d5ebe0d8bfcb05592e18a141e /perl-install/bootsplash.pm
parentb8bde1335564e23afdf9b6ba07ff2d5213f2bf69 (diff)
downloaddrakx-95cb771adad58d2b8dea859b82a65c40375e13db.tar
drakx-95cb771adad58d2b8dea859b82a65c40375e13db.tar.gz
drakx-95cb771adad58d2b8dea859b82a65c40375e13db.tar.bz2
drakx-95cb771adad58d2b8dea859b82a65c40375e13db.tar.xz
drakx-95cb771adad58d2b8dea859b82a65c40375e13db.zip
simplify
Diffstat (limited to 'perl-install/bootsplash.pm')
-rw-r--r--perl-install/bootsplash.pm4
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 {