summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-31 16:03:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-31 16:03:25 +0000
commitb18b20791cfce5c52a8fb20f2579449b6500da24 (patch)
treee96e9ec0ec862a1034ca71ae513e01ead2a0f7d1 /perl-install/install/install2.pm
parent53933f59344c68298b3ec9e91291516b19d5aa26 (diff)
downloaddrakx-b18b20791cfce5c52a8fb20f2579449b6500da24.tar
drakx-b18b20791cfce5c52a8fb20f2579449b6500da24.tar.gz
drakx-b18b20791cfce5c52a8fb20f2579449b6500da24.tar.bz2
drakx-b18b20791cfce5c52a8fb20f2579449b6500da24.tar.xz
drakx-b18b20791cfce5c52a8fb20f2579449b6500da24.zip
- nicely adjust mtime of fontconfig cache files
(otherwise the mtime may be in the future since files are not created with the chosen timezone, but only in UTC. and fc-cache doesn't like this at all)
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index dcb162c46..85f42d08e 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -613,11 +613,8 @@ sub main {
$o->{modules_conf}->write;
detect_devices::install_addons($::prefix);
- #- to ensure linuxconf does not cry against those files being in the future
- foreach ('/etc/modules.conf', '/etc/crontab', '/etc/sysconfig/mouse', '/etc/sysconfig/network', '/etc/X11/fs/config') {
- my $now = time() - 24 * 60 * 60;
- utime $now, $now, "$::prefix/$_";
- }
+ install::any::adjust_files_mtime_to_timezone();
+
#- make sure failed upgrade will not hurt too much.
install::steps::cleanIfFailedUpgrade($o);