summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-02-28 16:50:01 +0000
committerdamien <damien@mandriva.com>2002-02-28 16:50:01 +0000
commite72c60034b1884989aa72ed6d1b2bbedd1a79efb (patch)
treef77ba4442e035303483d8a6c2ff1a3478fb1adc8 /perl-install
parentbee2e6f27702fbf964dbe63ff59af2568ab514fa (diff)
downloaddrakx-e72c60034b1884989aa72ed6d1b2bbedd1a79efb.tar
drakx-e72c60034b1884989aa72ed6d1b2bbedd1a79efb.tar.gz
drakx-e72c60034b1884989aa72ed6d1b2bbedd1a79efb.tar.bz2
drakx-e72c60034b1884989aa72ed6d1b2bbedd1a79efb.tar.xz
drakx-e72c60034b1884989aa72ed6d1b2bbedd1a79efb.zip
corrected modinfo path for isa modules during install
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modparm.pm3
1 files changed, 3 insertions, 0 deletions
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) {