diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-28 20:07:01 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-01-02 14:59:46 +0100 |
commit | bdf55498f36933aea660733eba0b9e1e8fc69259 (patch) | |
tree | d7ee8d0d0ddf6c622c2dcb0dc9b31bf14acef119 /perl-install/standalone/drakfont | |
parent | dbffe9ba6422dc533b832bf4eecc9e2e67962e14 (diff) | |
download | drakx-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-x | perl-install/standalone/drakfont | 2 |
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() { |