diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/mouse.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index 52614e10a..959188276 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -438,10 +438,12 @@ sub write_conf { &write($do_pkgs, $mouse); $modules_conf->write if $mouse->{device} eq "usbmouse" && !$::testing; - require Xconfig::xfree; - my $xfree_conf = Xconfig::xfree->read; - set_xfree_conf($mouse, $xfree_conf, $b_keep_auxmouse_unchanged); - $xfree_conf->write; + eval { + require Xconfig::xfree; + my $xfree_conf = Xconfig::xfree->read; + set_xfree_conf($mouse, $xfree_conf, $b_keep_auxmouse_unchanged); + $xfree_conf->write; + } } sub change_mouse_live { |