summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-03-07 20:01:00 +0000
committerdamien <damien@mandriva.com>2002-03-07 20:01:00 +0000
commit3d6823129e0d9af4862d2ca06f2a708680f69f1e (patch)
tree96323cb99770fb2efe68b1ecc29ed690e0febc6e /perl-install
parent47097115997c49c24e01aac3f36a48046188121d (diff)
downloaddrakx-backup-do-not-use-3d6823129e0d9af4862d2ca06f2a708680f69f1e.tar
drakx-backup-do-not-use-3d6823129e0d9af4862d2ca06f2a708680f69f1e.tar.gz
drakx-backup-do-not-use-3d6823129e0d9af4862d2ca06f2a708680f69f1e.tar.bz2
drakx-backup-do-not-use-3d6823129e0d9af4862d2ca06f2a708680f69f1e.tar.xz
drakx-backup-do-not-use-3d6823129e0d9af4862d2ca06f2a708680f69f1e.zip
corrected
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modparm.pm5
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;