From e72c60034b1884989aa72ed6d1b2bbedd1a79efb Mon Sep 17 00:00:00 2001 From: damien Date: Thu, 28 Feb 2002 16:50:01 +0000 Subject: corrected modinfo path for isa modules during install --- perl-install/modparm.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-install/modparm.pm b/perl-install/modparm.pm index b8fe75f49..50130e1a9 100644 --- a/perl-install/modparm.pm +++ b/perl-install/modparm.pm @@ -23,6 +23,9 @@ sub get_options_name($) { my ($module) = @_; my @names; + $modinfo = '/sbin/modinfo'; + -e $modinfo or $modinfo = '/usr/bin/modinfo'; + -e $modinfo or die _('modinfo is not available'); my @line = `/sbin/modinfo -p $module`; print "yop : @line \n"; foreach (@line) { -- cgit v1.2.1