diff options
Diffstat (limited to 'perl-install/Xconfig.pm')
-rw-r--r-- | perl-install/Xconfig.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm index 57f310d6a..9d01673b9 100644 --- a/perl-install/Xconfig.pm +++ b/perl-install/Xconfig.pm @@ -79,7 +79,7 @@ sub getinfoFromXF86Config { sub getinfoFromSysconfig { my $o = shift || {}; - add2hash($o->{mouse}, getVarsFromSh("/etc/sysconfig/mouse")); + add2hash($o->{mouse} ||= {}, { getVarsFromSh("/etc/sysconfig/mouse") }); if (my %keyboard = getVarsFromSh "/etc/sysconfig/keyboard") { $keyboard{KEYTABLE} or last; |