summaryrefslogtreecommitdiffstats
path: root/perl-install/patch
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-12-20 13:52:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-12-20 13:52:35 +0000
commit2135da541717f31c20033d2f7a17ed5e7d55a400 (patch)
treeca31a8a83e1d91fab7d6d56359bf4645276bd72d /perl-install/patch
parent4d815283d89ede0f91c4134c680bc2c129d35173 (diff)
downloaddrakx-2135da541717f31c20033d2f7a17ed5e7d55a400.tar
drakx-2135da541717f31c20033d2f7a17ed5e7d55a400.tar.gz
drakx-2135da541717f31c20033d2f7a17ed5e7d55a400.tar.bz2
drakx-2135da541717f31c20033d2f7a17ed5e7d55a400.tar.xz
drakx-2135da541717f31c20033d2f7a17ed5e7d55a400.zip
some fonts are not seen by fontconfig because of a packaging pb, force a rebuild of fc cache
Diffstat (limited to 'perl-install/patch')
-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;
+};