summaryrefslogtreecommitdiffstats
path: root/perl-install/bootsplash.pm
diff options
context:
space:
mode:
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 {