diff options
-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 { |