diff options
author | damien <damien@mandriva.com> | 2002-02-28 16:50:01 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2002-02-28 16:50:01 +0000 |
commit | e72c60034b1884989aa72ed6d1b2bbedd1a79efb (patch) | |
tree | f77ba4442e035303483d8a6c2ff1a3478fb1adc8 /perl-install | |
parent | bee2e6f27702fbf964dbe63ff59af2568ab514fa (diff) | |
download | drakx-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.pm | 3 |
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) { |