diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-03 07:57:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-03 07:57:34 +0000 |
commit | b22c5d87da520d2c886a8652bbac45da87cf051a (patch) | |
tree | 52ecb6db26998940699341cb4a61e18f906d5d0a /perl-install/modules | |
parent | d145c652bc59abe71e760b13963b546c34205654 (diff) | |
download | drakx-backup-do-not-use-b22c5d87da520d2c886a8652bbac45da87cf051a.tar drakx-backup-do-not-use-b22c5d87da520d2c886a8652bbac45da87cf051a.tar.gz drakx-backup-do-not-use-b22c5d87da520d2c886a8652bbac45da87cf051a.tar.bz2 drakx-backup-do-not-use-b22c5d87da520d2c886a8652bbac45da87cf051a.tar.xz drakx-backup-do-not-use-b22c5d87da520d2c886a8652bbac45da87cf051a.zip |
pixelize(tm)
Diffstat (limited to 'perl-install/modules')
-rw-r--r-- | perl-install/modules/parameters.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/modules/parameters.pm b/perl-install/modules/parameters.pm index 59829389c..c3b4fb2b6 100644 --- a/perl-install/modules/parameters.pm +++ b/perl-install/modules/parameters.pm @@ -13,9 +13,7 @@ use modules; sub parameters { my ($module) = @_; - my $modinfo = '/sbin/modinfo'; - -x $modinfo or $modinfo = '/usr/bin/modinfo'; - -x $modinfo or die N("modinfo is not available"); + my $modinfo = find { -x $_ } qw(/sbin/modiInfo /usr/bin/modinfo) or die N("modinfo is not available"); if (!$::isStandalone && !$::testing) { modules::extract_modules('/tmp', $module); |