summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-08-25 14:14:10 +0200
committerPapoteur <papoteur@mageia.org>2019-08-25 14:14:10 +0200
commit7ad27d684e6d79aa5f9f4225c98c7d9647273a02 (patch)
treebb2a8ec3da3b0abb9ae972d10a78630f616d8606 /perl-install/standalone
parent9169ad4cb084899e9f7709a5ea79e89978e7f349 (diff)
downloaddrakx-7ad27d684e6d79aa5f9f4225c98c7d9647273a02.tar
drakx-7ad27d684e6d79aa5f9f4225c98c7d9647273a02.tar.gz
drakx-7ad27d684e6d79aa5f9f4225c98c7d9647273a02.tar.bz2
drakx-7ad27d684e6d79aa5f9f4225c98c7d9647273a02.tar.xz
drakx-7ad27d684e6d79aa5f9f4225c98c7d9647273a02.zip
Avoid a crsh after adding font, when fonts.cache-1 is no more present (mga#21086)
Diffstat (limited to 'perl-install/standalone')
-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 7e256ede3..8222810a5 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");
- rm_rf("$font_dir/fonts.cache-1");
+ my_rm_rf("$font_dir/fonts.cache-1");
}
sub put_font_dir() {