diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-12-20 13:52:35 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-12-20 13:52:35 +0000 |
commit | 2135da541717f31c20033d2f7a17ed5e7d55a400 (patch) | |
tree | ca31a8a83e1d91fab7d6d56359bf4645276bd72d /perl-install/patch | |
parent | 4d815283d89ede0f91c4134c680bc2c129d35173 (diff) | |
download | drakx-backup-do-not-use-2135da541717f31c20033d2f7a17ed5e7d55a400.tar drakx-backup-do-not-use-2135da541717f31c20033d2f7a17ed5e7d55a400.tar.gz drakx-backup-do-not-use-2135da541717f31c20033d2f7a17ed5e7d55a400.tar.bz2 drakx-backup-do-not-use-2135da541717f31c20033d2f7a17ed5e7d55a400.tar.xz drakx-backup-do-not-use-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.pl | 13 |
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; +}; |