diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-08-01 18:28:23 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-08-01 18:28:23 +0000 |
commit | 9629507c573aebcf8c1051a7ed508097dcc0439c (patch) | |
tree | fb8dcdacb4dd28dcf4cc336a3cc8fcbf6fe47d0a /perl-install/install2.pm | |
parent | 082bfd4804b330fad0baebc484dfd5ab0adb49c9 (diff) | |
download | drakx-9629507c573aebcf8c1051a7ed508097dcc0439c.tar drakx-9629507c573aebcf8c1051a7ed508097dcc0439c.tar.gz drakx-9629507c573aebcf8c1051a7ed508097dcc0439c.tar.bz2 drakx-9629507c573aebcf8c1051a7ed508097dcc0439c.tar.xz drakx-9629507c573aebcf8c1051a7ed508097dcc0439c.zip |
no_comment
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 926f547d5..9adfdbdaa 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -417,8 +417,8 @@ sub miscellaneous { my $f = "$o->{prefix}/etc/sysconfig/usb"; my %usb = getVarsFromSh($f); - $usb{MOUSE} = bool2yesno($o->{mouse}{device} eq "usbmouse"); - $usb{KEYBOARD} = bool2yesno(int grep { /^keybdev\.c: Adding keyboard/ } detect_devices::syslog()); + $usb{MOUSE} = $o->{mouse}{device} eq "usbmouse" && "yes" + $usb{KEYBOARD} = (int grep { /^keybdev\.c: Adding keyboard/ } detect_devices::syslog()) && "yes"; $usb{ZIP} = bool2yesno(-d "/proc/scsi/usb"); setVarsInSh($f, \%usb); |