diff options
author | Mystery Man <unknown@mandriva.org> | 2005-08-30 18:55:27 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-08-30 18:55:27 +0000 |
commit | ea3a905b182f34bba2f071111d5263f1868c4a6f (patch) | |
tree | 45713836a82198448c93696b30f3c9ab7ba9aa4a /move/tools/fix-fc-cache.pl | |
parent | f5427227e11f6025648f9537ffd3110c003f7e25 (diff) | |
download | drakx-backup-do-not-use-ea3a905b182f34bba2f071111d5263f1868c4a6f.tar drakx-backup-do-not-use-ea3a905b182f34bba2f071111d5263f1868c4a6f.tar.gz drakx-backup-do-not-use-ea3a905b182f34bba2f071111d5263f1868c4a6f.tar.bz2 drakx-backup-do-not-use-ea3a905b182f34bba2f071111d5263f1868c4a6f.tar.xz drakx-backup-do-not-use-ea3a905b182f34bba2f071111d5263f1868c4a6f.zip |
This commit was manufactured by cvs2svn to create tagV10_3_0_50mdk
'V10_3_0_50mdk'.
Diffstat (limited to 'move/tools/fix-fc-cache.pl')
-rwxr-xr-x | move/tools/fix-fc-cache.pl | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/move/tools/fix-fc-cache.pl b/move/tools/fix-fc-cache.pl deleted file mode 100755 index 720c94141..000000000 --- a/move/tools/fix-fc-cache.pl +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/perl - -# touch fontconfig cache files so that fc-cache will not slow down starting of drakx - -use MDK::Common; - -my ($prefix) = @ARGV or die "usage: $0 <prefix>\n"; - -my @conf = cat_("$prefix/etc/fonts/fonts.conf"); - -print "touching fontconfig cache files...\n"; -foreach my $line (@conf) { - while ($line =~ m|<dir>([^<]+)</dir|g) { - my $dir = $1; - $dir =~ m|^/| or next; - foreach my $d (chomp_(`find $prefix$dir -type d 2>/dev/null`)) { - touch "$d/fonts.cache-1"; - } - } -} - |