summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-05-08 21:18:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-05-08 21:18:28 +0000
commit55003f1472479cebdc92a83e96fb060bd6239194 (patch)
treedb064a5b72dadb82ab62e3eed166f6680d87d3c7 /perl-install/install2.pm
parent198fa853cca1b95712fe825849b4eba7a388a22f (diff)
downloaddrakx-backup-do-not-use-55003f1472479cebdc92a83e96fb060bd6239194.tar
drakx-backup-do-not-use-55003f1472479cebdc92a83e96fb060bd6239194.tar.gz
drakx-backup-do-not-use-55003f1472479cebdc92a83e96fb060bd6239194.tar.bz2
drakx-backup-do-not-use-55003f1472479cebdc92a83e96fb060bd6239194.tar.xz
drakx-backup-do-not-use-55003f1472479cebdc92a83e96fb060bd6239194.zip
no_comment
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index dadeac3d6..53ff1412b 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -388,7 +388,7 @@ sub miscellaneous {
my $f = "$o->{prefix}/etc/sysconfig/usb";
my %usb = getVarsFromSh($f);
$usb{MOUSE} = bool2yesno($o->{mouse}{device} eq "usbmouse");
- $usb{KBD} = bool2yesno(int grep { /^keybdev\.c: Adding keyboard/ } detect_devices::syslog());
+ $usb{KEYBOARD} = bool2yesno(int grep { /^keybdev\.c: Adding keyboard/ } detect_devices::syslog());
$usb{ZIP} = bool2yesno(-d "/proc/scsi/usb");
setVarsInSh($f, \%usb);
@@ -696,6 +696,11 @@ sub main {
fs::write($o->{prefix}, $o->{fstab}, $o->{manualFstab}, $o->{useSupermount});
modules::write_conf("$o->{prefix}/etc/conf.modules");
+ #- to ensure linuxconf doesn't cry against those files being in the future
+ foreach ('/etc/conf.modules', '/etc/crontab', '/etc/sysconfig/mouse', '/etc/X11/fs/config') {
+ my $now = time - 24 * 60 * 60;
+ utime $now, $now, "$o->{prefix}/$_";
+ }
install_any::killCardServices();
#- make sure failed upgrade will not hurt too much.