summaryrefslogtreecommitdiffstats
path: root/perl-install/patch/patch-2006-bad-fonts.pl
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/patch/patch-2006-bad-fonts.pl')
-rw-r--r--perl-install/patch/patch-2006-bad-fonts.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/perl-install/patch/patch-2006-bad-fonts.pl b/perl-install/patch/patch-2006-bad-fonts.pl
new file mode 100644
index 000000000..fbae7f8cb
--- /dev/null
+++ b/perl-install/patch/patch-2006-bad-fonts.pl
@@ -0,0 +1,13 @@
+log::l("PATCH: 2006-bad-fonts");
+
+# cf bugzilla #20082
+
+use install_steps;
+package install_steps;
+
+my $old = \&afterInstallPackages;
+undef *afterInstallPackages;
+*afterInstallPackages = sub {
+ run_program::rooted($::prefix, 'fc-cache', '-v', '-f');
+ &$old;
+};