From bdf55498f36933aea660733eba0b9e1e8fc69259 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 28 May 2015 20:07:01 -0400 Subject: prevent one useless shell fork --- perl-install/standalone/drakfont | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakfont') diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont index 5756bffd6..7e256ede3 100755 --- a/perl-install/standalone/drakfont +++ b/perl-install/standalone/drakfont @@ -325,7 +325,7 @@ sub put_font_dir_real { system("cd $drakfont_dir/$subdir && $fccache && $command"); interactive_progress($pbar2, $progress, $title); symlinkf("$drakfont_dir/$subdir", "/etc/X11/fontpath.d/drakfont_$subdir"); - system("rm -f $font_dir/fonts.cache-1"); + rm_rf("$font_dir/fonts.cache-1"); } sub put_font_dir() { -- cgit v1.2.1