#!/usr/bin/perl # check if files are more recent (fc-cache will slow down starting of drakx) use MDK::Common; sub stat_ { my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks) = stat $_[0]; max($mtime, $ctime); } my $prefix = $ARGV[0] || '/tmp/live_tree'; my @conf = cat_("$prefix/etc/fonts/fonts.conf"); foreach my $line (@conf) { while ($line =~ m|