summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-30 13:13:00 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-30 13:13:00 +0000
commitfaefd04705779f719ea87759eed5e129a0ec5e27 (patch)
tree6aa614ad56d8f70401a9e44e41270af1b403876d /perl-install/Xconfig.pm
parentdadaa56cd93005872900da1b75432b062f9fa960 (diff)
downloaddrakx-faefd04705779f719ea87759eed5e129a0ec5e27.tar
drakx-faefd04705779f719ea87759eed5e129a0ec5e27.tar.gz
drakx-faefd04705779f719ea87759eed5e129a0ec5e27.tar.bz2
drakx-faefd04705779f719ea87759eed5e129a0ec5e27.tar.xz
drakx-faefd04705779f719ea87759eed5e129a0ec5e27.zip
no_comment
Diffstat (limited to 'perl-install/Xconfig.pm')
-rw-r--r--perl-install/Xconfig.pm2
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;