summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-28 20:07:01 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-01-02 14:59:46 +0100
commitbdf55498f36933aea660733eba0b9e1e8fc69259 (patch)
treed7ee8d0d0ddf6c622c2dcb0dc9b31bf14acef119 /perl-install/standalone/drakfont
parentdbffe9ba6422dc533b832bf4eecc9e2e67962e14 (diff)
downloaddrakx-bdf55498f36933aea660733eba0b9e1e8fc69259.tar
drakx-bdf55498f36933aea660733eba0b9e1e8fc69259.tar.gz
drakx-bdf55498f36933aea660733eba0b9e1e8fc69259.tar.bz2
drakx-bdf55498f36933aea660733eba0b9e1e8fc69259.tar.xz
drakx-bdf55498f36933aea660733eba0b9e1e8fc69259.zip
prevent one useless shell fork
Diffstat (limited to 'perl-install/standalone/drakfont')
-rwxr-xr-xperl-install/standalone/drakfont2
1 files changed, 1 insertions, 1 deletions
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() {