diff options
author | damien <damien@mandriva.com> | 2002-03-07 20:01:00 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2002-03-07 20:01:00 +0000 |
commit | 3d6823129e0d9af4862d2ca06f2a708680f69f1e (patch) | |
tree | 96323cb99770fb2efe68b1ecc29ed690e0febc6e /perl-install/modparm.pm | |
parent | 47097115997c49c24e01aac3f36a48046188121d (diff) | |
download | drakx-3d6823129e0d9af4862d2ca06f2a708680f69f1e.tar drakx-3d6823129e0d9af4862d2ca06f2a708680f69f1e.tar.gz drakx-3d6823129e0d9af4862d2ca06f2a708680f69f1e.tar.bz2 drakx-3d6823129e0d9af4862d2ca06f2a708680f69f1e.tar.xz drakx-3d6823129e0d9af4862d2ca06f2a708680f69f1e.zip |
corrected
Diffstat (limited to 'perl-install/modparm.pm')
-rw-r--r-- | perl-install/modparm.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/modparm.pm b/perl-install/modparm.pm index 700056eff..5432ea762 100644 --- a/perl-install/modparm.pm +++ b/perl-install/modparm.pm @@ -26,11 +26,12 @@ sub get_options_name($) { my @names; $modinfo = $::isStandalone ? '/sbin/modinfo' : '/usr/bin/modinfo'; -e $modinfo or die _('modinfo is not available'); + my @line; if ($::isStandalone) { - my @line = `$modinfo -p $module`; + @line = `$modinfo -p $module`; } else { modules::extract_modules('/tmp', $module); - my @line = `$modinfo -p /tmp/$module.o`; + @line = `$modinfo -p /tmp/$module.o`; } foreach (@line) { chomp; |