summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-21 01:37:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-21 01:37:00 +0000
commit4ee1dd30c7c0659858e685ff00f0ead3416baceb (patch)
tree60c2bd3a8cd099841566d5765302198470b49d2e /perl-install/standalone/service_harddrake
parentfcf2dda77899ae72517d0d24b911039b96a000b8 (diff)
downloaddrakx-4ee1dd30c7c0659858e685ff00f0ead3416baceb.tar
drakx-4ee1dd30c7c0659858e685ff00f0ead3416baceb.tar.gz
drakx-4ee1dd30c7c0659858e685ff00f0ead3416baceb.tar.bz2
drakx-4ee1dd30c7c0659858e685ff00f0ead3416baceb.tar.xz
drakx-4ee1dd30c7c0659858e685ff00f0ead3416baceb.zip
use do_pkgs_standalone->new instead of class_discard
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 24c0f47ab..0e4a178e9 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -29,9 +29,9 @@ $curr_kernel =~ s/(^\d+\.\d+).*/$1/;
setVarsInSh("$hw_sysconfdir/kernel", { KERNEL => $curr_kernel });
if ($curr_kernel ne $prev_kernel) {
log::explanations("Autoconfiguring mouse since we switched between 2.4.x and 2.6.x kernels");
- require class_discard;
+ require do_pkgs;
require mouse;
- mouse::write_conf(class_discard->new, $modules_conf, mouse::detect($modules_conf), 1);
+ mouse::write_conf(do_pkgs_standalone->new, $modules_conf, mouse::detect($modules_conf), 1);
}
if (find { $_->{driver} =~ /Card:NVIDIA/ } detect_devices::probeall()) {