summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 980277321..609a2b720 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -227,14 +227,7 @@ sub selectMouse {
add2hash($o->{mouse} ||= {}, { mouse::read($o->{prefix}) }) if $o->{isUpgrade} && !$clicked;
$o->selectMouse($clicked);
- addToBeDone {
- mouse::write($o->{prefix}, $o->{mouse});
- my $t = "modprobe usbmouse\n";
- substInFile {
- s/$t//;
- $_ .= $t if eof;
- } "$o->{prefix}/etc/rc.d/rc.local" if $o->{mouse}{FULLNAME} =~ /USB/i;
- } 'doInstallStep';
+ addToBeDone { mouse::write($o->{prefix}, $o->{mouse}) } 'doInstallStep';
}
#------------------------------------------------------------------------------