summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-03-04 11:51:45 +0000
committerdamien <damien@mandriva.com>2002-03-04 11:51:45 +0000
commit29d88ee4005a70014a1f0d571e9a8dc72ac6db3e (patch)
tree3ffc2b3c68de452dded2578d24ee3cc256893c86 /perl-install
parent9477387f636496a61b64c25b7a37a177ff9186a8 (diff)
downloaddrakx-29d88ee4005a70014a1f0d571e9a8dc72ac6db3e.tar
drakx-29d88ee4005a70014a1f0d571e9a8dc72ac6db3e.tar.gz
drakx-29d88ee4005a70014a1f0d571e9a8dc72ac6db3e.tar.bz2
drakx-29d88ee4005a70014a1f0d571e9a8dc72ac6db3e.tar.xz
drakx-29d88ee4005a70014a1f0d571e9a8dc72ac6db3e.zip
corected weirdness, I suck
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modparm.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/modparm.pm b/perl-install/modparm.pm
index 50130e1a9..a30afe425 100644
--- a/perl-install/modparm.pm
+++ b/perl-install/modparm.pm
@@ -26,8 +26,7 @@ sub get_options_name($) {
$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";
+ my @line = `$modinfo -p $module`;
foreach (@line) {
chomp;
s/int/: (integer/;